Skip to content

Commit

Permalink
Add volumeMounts
Browse files Browse the repository at this point in the history
  • Loading branch information
rolodato committed Jan 15, 2025
1 parent 14f7217 commit 426a838
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions charts/flagsmith/templates/deployment-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ spec:
timeoutSeconds: {{ .Values.api.readinessProbe.timeoutSeconds }}
resources:
{{ toYaml .Values.api.resources | indent 10 }}
volumeMounts:
{{ toYaml .Values.api.volumeMounts | indent 10 }}
{{- with .Values.api.extraContainers }}
{{- toYaml . | nindent 6 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/flagsmith/templates/deployment-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ spec:
timeoutSeconds: {{ .Values.frontend.readinessProbe.timeoutSeconds }}
resources:
{{ toYaml .Values.frontend.resources | indent 10 }}
volumeMounts:
{{ toYaml .Values.frontend.volumeMounts | indent 10 }}
{{- with .Values.frontend.extraContainers }}
{{- toYaml . | nindent 6 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/flagsmith/templates/deployment-pgbouncer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ spec:
{{- toYaml $securityContext | nindent 10 }}
resources:
{{ toYaml .Values.pgbouncer.resources | indent 10 }}
volumeMounts:
{{ toYaml .Values.pgbouncer.volumeMounts | indent 10 }}
{{- with .Values.pgbouncer.extraContainers }}
{{- toYaml . | nindent 6 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/flagsmith/templates/deployment-sse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ spec:
timeoutSeconds: {{ .Values.sse.readinessProbe.timeoutSeconds }}
resources:
{{ toYaml .Values.sse.resources | indent 10 }}
volumeMounts:
{{ toYaml .Values.sse.volumeMounts | indent 10 }}
{{- with .Values.sse.extraContainers }}
{{- toYaml . | nindent 6 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/flagsmith/templates/deployment-task-processor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ spec:
timeoutSeconds: {{ .Values.taskProcessor.readinessProbe.timeoutSeconds }}
resources:
{{ toYaml .Values.taskProcessor.resources | indent 10 }}
volumeMounts:
{{ toYaml .Values.taskProcessor.volumeMounts | indent 10 }}
{{- with .Values.taskProcessor.extraContainers }}
{{- toYaml . | nindent 6 }}
{{- end }}
Expand Down
7 changes: 6 additions & 1 deletion charts/flagsmith/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ api:
extraInitContainers: []
extraContainers: []
extraVolumes: []
volumeMounts: []
logging:
format: generic # options are generic or json.
enableMigrateDbInitContainer: true
Expand Down Expand Up @@ -137,7 +138,8 @@ frontend:
extraInitContainers: []
extraContainers: []
extraVolumes: []
extraSpec: {} # Will be added to `spec` for `flagsmith-frontend` deployment.
volumeMounts: []
extraSpec: {} # Will be added to `spec` for `flagsmith-frontend` deployment.

# See https://docs.flagsmith.com/deployment/task-processor
taskProcessor:
Expand Down Expand Up @@ -192,6 +194,7 @@ taskProcessor:
extraContainers: []
extraEnv: {}
extraVolumes: []
volumeMounts: []
extraSpec: {} # Will be added to `spec` for `flagsmith-task-processor` deployment.

devPostgresql:
Expand Down Expand Up @@ -260,6 +263,7 @@ pgbouncer:
extraInitContainers: []
extraContainers: []
extraVolumes: []
volumeMounts: []

influxdb2:
enabled: true
Expand Down Expand Up @@ -358,6 +362,7 @@ sse:
extraInitContainers: []
extraContainers: []
extraVolumes: []
volumeMounts: []

service:
api:
Expand Down

0 comments on commit 426a838

Please sign in to comment.