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

add initJob.podSpec #298

Merged
merged 4 commits into from
Oct 17, 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
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