Skip to content

Commit

Permalink
Merge pull request #305 from Flagsmith/feat/volume-mounts
Browse files Browse the repository at this point in the history
feat: Add volumeMounts
  • Loading branch information
rolodato authored Jan 30, 2025
2 parents 626d6a2 + 1ba870a commit 408db7b
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/flagsmith/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: flagsmith
description: Flagsmith
type: application
version: 0.68.0
version: 0.69.0
appVersion: 2.159.0
dependencies:
- name: postgresql
Expand Down
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 }}
{{ if typeIs "string" . }}
{{- tpl . $ | nindent 6 }}
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 }}
{{ if typeIs "string" . }}
{{- tpl . $ | nindent 6 }}
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 }}
{{ if typeIs "string" . }}
{{- tpl . $ | nindent 6 }}
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 }}
{{ if typeIs "string" . }}
{{- tpl . $ | nindent 6 }}
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 }}
{{ if typeIs "string" . }}
{{- tpl . $ | nindent 6 }}
Expand Down
7 changes: 6 additions & 1 deletion charts/flagsmith/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ api:
extraInitContainers: []
extraContainers: []
extraVolumes: []
volumeMounts: []
logging:
format: generic # options are generic or json.
enableMigrateDbInitContainer: true
Expand Down Expand Up @@ -141,7 +142,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 @@ -196,6 +198,7 @@ taskProcessor:
extraContainers: []
extraEnv: {}
extraVolumes: []
volumeMounts: []
extraSpec: {} # Will be added to `spec` for `flagsmith-task-processor` deployment.

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

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

service:
api:
Expand Down

0 comments on commit 408db7b

Please sign in to comment.