Skip to content

Commit

Permalink
Changed ClusterIP and Imagepullpolicy (#37)
Browse files Browse the repository at this point in the history
Co-authored-by: Akshat Jain <[email protected]>
  • Loading branch information
akshat5302 and Akshat Jain authored Sep 16, 2024
1 parent f24d3ba commit 6d023f0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
9 changes: 9 additions & 0 deletions charts/plane-ce/questions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,15 @@ questions:
type: string
default: "rabbitmq:3.13.6-management-alpine"
show_if: "rabbitmq.local_setup=true"
- variable: rabbitmq.pullPolicy
label: "Image Pull Policy"
type: enum
options:
- "Always"
- "IfNotPresent"
- "Never"
default: "IfNotPresent"
show_if: "rabbitmq.local_setup=true"
- variable: rabbitmq.servicePort
label: Service Port
type: int
Expand Down
2 changes: 1 addition & 1 deletion charts/plane-ce/templates/workloads/rabbitmq.stateful.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
spec:
containers:
- image: {{ .Values.rabbitmq.image }}
imagePullPolicy: Always
imagePullPolicy: {{ .Values.rabbitmq.pullPolicy | default "IfNotPresent" | quote }}
name: {{ .Release.Name }}-rabbitmq
stdin: true
tty: true
Expand Down
21 changes: 11 additions & 10 deletions charts/plane-ce/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ postgres:
rabbitmq:
local_setup: true
image: rabbitmq:3.13.6-management-alpine
pullPolicy: IfNotPresent
servicePort: 5672
managementPort: 15672
storageClass: longhorn
Expand All @@ -64,53 +65,53 @@ minio:
root_user: admin
storageClass: longhorn
volumeSize: 1Gi
assign_cluster_ip: true
assign_cluster_ip: false

web:
replicas: 1
memoryLimit: 1000Mi
cpuLimit: 500m
image: makeplane/plane-frontend
pullPolicy: IfNotPresent
assign_cluster_ip: true
pullPolicy: Always
assign_cluster_ip: false

space:
replicas: 1
memoryLimit: 1000Mi
cpuLimit: 500m
image: makeplane/plane-space
pullPolicy: IfNotPresent
assign_cluster_ip: true
pullPolicy: Always
assign_cluster_ip: false

admin:
replicas: 1
memoryLimit: 1000Mi
cpuLimit: 500m
image: makeplane/plane-admin
pullPolicy: IfNotPresent
assign_cluster_ip: true
pullPolicy: Always
assign_cluster_ip: false

api:
replicas: 1
memoryLimit: 1000Mi
cpuLimit: 500m
image: makeplane/plane-backend
pullPolicy: IfNotPresent
pullPolicy: Always
assign_cluster_ip: false

worker:
replicas: 1
memoryLimit: 1000Mi
cpuLimit: 500m
image: makeplane/plane-backend
pullPolicy: IfNotPresent
pullPolicy: Always

beatworker:
replicas: 1
memoryLimit: 1000Mi
cpuLimit: 500m
image: makeplane/plane-backend
pullPolicy: IfNotPresent
pullPolicy: Always

env:
pgdb_username: plane
Expand Down

0 comments on commit 6d023f0

Please sign in to comment.