Skip to content

Commit

Permalink
Add initJob.podSpec to values.yaml (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
klml authored Oct 17, 2024
1 parent 0227090 commit 3fa2038
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion zammad/Chart.yaml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: zammad
version: 12.4.1
version: 12.5.0
appVersion: 6.3.1-185
description: Zammad is a web based open source helpdesk/customer support system with many features to manage customer communication via several channels like telephone, facebook, twitter, chat and e-mails.
home: https://zammad.org
Expand Down
2 changes: 2 additions & 0 deletions zammad/ci/full-values.yaml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ zammadConfig:
my-initJob-pod-label: my-initJob-pod-label-value
podAnnotations:
my-initJob-pod-annotation: my-initJob-pod-annotation-value
podSpec:
activeDeadlineSeconds: 1337

commonLabels:
my-common-label: my-common-label-value
Expand Down
3 changes: 3 additions & 0 deletions zammad/templates/job-init.yaml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ spec:
{{- end }}
spec:
{{- include "zammad.podSpec" . | nindent 6 }}
{{- with .Values.zammadConfig.initJob.podSpec }}
{{- toYaml . | nindent 6}}
{{- end }}
restartPolicy: OnFailure
containers:
{{- with .Values.initContainers }}
Expand Down
2 changes: 2 additions & 0 deletions zammad/values.yaml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ zammadConfig:
# my-label: "value"
podAnnotations: {}
# my-annotation: "value"
podSpec: {}
# my-podspec: "value"

# additional environment vars added to all zammad services
extraEnv: []
Expand Down

0 comments on commit 3fa2038

Please sign in to comment.