Skip to content

Commit 408db7b

Browse files
authored
Merge pull request #305 from Flagsmith/feat/volume-mounts
feat: Add volumeMounts
2 parents 626d6a2 + 1ba870a commit 408db7b

File tree

7 files changed

+17
-2
lines changed

7 files changed

+17
-2
lines changed

charts/flagsmith/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: flagsmith
33
description: Flagsmith
44
type: application
5-
version: 0.68.0
5+
version: 0.69.0
66
appVersion: 2.159.0
77
dependencies:
88
- name: postgresql

charts/flagsmith/templates/deployment-api.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ spec:
152152
timeoutSeconds: {{ .Values.api.readinessProbe.timeoutSeconds }}
153153
resources:
154154
{{ toYaml .Values.api.resources | indent 10 }}
155+
volumeMounts:
156+
{{ toYaml .Values.api.volumeMounts | indent 10 }}
155157
{{- with .Values.api.extraContainers }}
156158
{{ if typeIs "string" . }}
157159
{{- tpl . $ | nindent 6 }}

charts/flagsmith/templates/deployment-frontend.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ spec:
100100
timeoutSeconds: {{ .Values.frontend.readinessProbe.timeoutSeconds }}
101101
resources:
102102
{{ toYaml .Values.frontend.resources | indent 10 }}
103+
volumeMounts:
104+
{{ toYaml .Values.frontend.volumeMounts | indent 10 }}
103105
{{- with .Values.frontend.extraContainers }}
104106
{{ if typeIs "string" . }}
105107
{{- tpl . $ | nindent 6 }}

charts/flagsmith/templates/deployment-pgbouncer.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ spec:
140140
{{- toYaml $securityContext | nindent 10 }}
141141
resources:
142142
{{ toYaml .Values.pgbouncer.resources | indent 10 }}
143+
volumeMounts:
144+
{{ toYaml .Values.pgbouncer.volumeMounts | indent 10 }}
143145
{{- with .Values.pgbouncer.extraContainers }}
144146
{{ if typeIs "string" . }}
145147
{{- tpl . $ | nindent 6 }}

charts/flagsmith/templates/deployment-sse.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ spec:
9999
timeoutSeconds: {{ .Values.sse.readinessProbe.timeoutSeconds }}
100100
resources:
101101
{{ toYaml .Values.sse.resources | indent 10 }}
102+
volumeMounts:
103+
{{ toYaml .Values.sse.volumeMounts | indent 10 }}
102104
{{- with .Values.sse.extraContainers }}
103105
{{ if typeIs "string" . }}
104106
{{- tpl . $ | nindent 6 }}

charts/flagsmith/templates/deployment-task-processor.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ spec:
108108
timeoutSeconds: {{ .Values.taskProcessor.readinessProbe.timeoutSeconds }}
109109
resources:
110110
{{ toYaml .Values.taskProcessor.resources | indent 10 }}
111+
volumeMounts:
112+
{{ toYaml .Values.taskProcessor.volumeMounts | indent 10 }}
111113
{{- with .Values.taskProcessor.extraContainers }}
112114
{{ if typeIs "string" . }}
113115
{{- tpl . $ | nindent 6 }}

charts/flagsmith/values.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ api:
8080
extraInitContainers: []
8181
extraContainers: []
8282
extraVolumes: []
83+
volumeMounts: []
8384
logging:
8485
format: generic # options are generic or json.
8586
enableMigrateDbInitContainer: true
@@ -141,7 +142,8 @@ frontend:
141142
extraInitContainers: []
142143
extraContainers: []
143144
extraVolumes: []
144-
extraSpec: {} # Will be added to `spec` for `flagsmith-frontend` deployment.
145+
volumeMounts: []
146+
extraSpec: {} # Will be added to `spec` for `flagsmith-frontend` deployment.
145147

146148
# See https://docs.flagsmith.com/deployment/task-processor
147149
taskProcessor:
@@ -196,6 +198,7 @@ taskProcessor:
196198
extraContainers: []
197199
extraEnv: {}
198200
extraVolumes: []
201+
volumeMounts: []
199202
extraSpec: {} # Will be added to `spec` for `flagsmith-task-processor` deployment.
200203

201204
devPostgresql:
@@ -264,6 +267,7 @@ pgbouncer:
264267
extraInitContainers: []
265268
extraContainers: []
266269
extraVolumes: []
270+
volumeMounts: []
267271

268272
influxdb2:
269273
enabled: true
@@ -366,6 +370,7 @@ sse:
366370
extraInitContainers: []
367371
extraContainers: []
368372
extraVolumes: []
373+
volumeMounts: []
369374

370375
service:
371376
api:

0 commit comments

Comments
 (0)