Skip to content

Commit f29c242

Browse files
authored
feat: Allow including extra spec keys for deployments (#292)
* feat: Allow including extra `spec` keys for deployments
1 parent 88fe146 commit f29c242

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed

charts/flagsmith/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: flagsmith
33
description: Flagsmith
44
type: application
5-
version: 0.59.1
6-
appVersion: 2.142.0
5+
version: 0.60.0
6+
appVersion: 2.153.0
77
dependencies:
88
- name: postgresql
99
repository: https://charts.bitnami.com/bitnami

charts/flagsmith/templates/deployment-api.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,6 @@ spec:
164164
{{- with .Values.api.extraVolumes }}
165165
{{- toYaml . | nindent 6 }}
166166
{{- end }}
167+
{{- with .Values.api.extraSpec }}
168+
{{- toYaml . | nindent 2 }}
169+
{{- end }}

charts/flagsmith/templates/deployment-frontend.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,7 @@ spec:
107107
{{- with .Values.frontend.extraVolumes }}
108108
{{- toYaml . | nindent 6 }}
109109
{{- end }}
110+
{{- with .Values.frontend.extraSpec }}
111+
{{- toYaml . | nindent 2 }}
112+
{{- end }}
110113
{{- end }}

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,7 @@ spec:
115115
{{- with .Values.taskProcessor.extraVolumes }}
116116
{{- toYaml . | nindent 6 }}
117117
{{- end }}
118+
{{- with .Values.taskProcessor.extraSpec }}
119+
{{- toYaml . | nindent 2 }}
120+
{{- end }}
118121
{{- end }}

charts/flagsmith/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ api:
8787
adminEmail: null
8888
organisationName: null
8989
projectName: null
90+
extraSpec: {} # Will be added to `spec` for `flagsmith-api` deployment.
9091

9192
frontend:
9293
# Set this to `false` to switch off the frontend (deployment,
@@ -136,6 +137,7 @@ frontend:
136137
extraInitContainers: []
137138
extraContainers: []
138139
extraVolumes: []
140+
extraSpec: {} # Will be added to `spec` for `flagsmith-frontend` deployment.
139141

140142
# See https://docs.flagsmith.com/deployment/task-processor
141143
taskProcessor:
@@ -190,6 +192,7 @@ taskProcessor:
190192
extraContainers: []
191193
extraEnv: {}
192194
extraVolumes: []
195+
extraSpec: {} # Will be added to `spec` for `flagsmith-task-processor` deployment.
193196

194197
devPostgresql:
195198
enabled: true

0 commit comments

Comments
 (0)