Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow including extra spec keys for deployments #292

Merged
merged 4 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/flagsmith/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: flagsmith
description: Flagsmith
type: application
version: 0.59.1
appVersion: 2.142.0
version: 0.60.0
appVersion: 2.153.0
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
Expand Down
3 changes: 3 additions & 0 deletions charts/flagsmith/templates/deployment-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,6 @@ spec:
{{- with .Values.api.extraVolumes }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.api.extraSpec }}
{{- toYaml . | nindent 2 }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/flagsmith/templates/deployment-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,7 @@ spec:
{{- with .Values.frontend.extraVolumes }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.frontend.extraSpec }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/flagsmith/templates/deployment-task-processor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,7 @@ spec:
{{- with .Values.taskProcessor.extraVolumes }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.taskProcessor.extraSpec }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/flagsmith/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ api:
adminEmail: null
organisationName: null
projectName: null
extraSpec: {} # Will be added to `spec` for `flagsmith-api` deployment.

frontend:
# Set this to `false` to switch off the frontend (deployment,
Expand Down Expand Up @@ -136,6 +137,7 @@ frontend:
extraInitContainers: []
extraContainers: []
extraVolumes: []
extraSpec: {} # Will be added to `spec` for `flagsmith-frontend` deployment.

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

devPostgresql:
enabled: true
Expand Down
Loading