Commits (2)
## [1.6.10](https://git.panter.ch/catladder/helm-charts/the-panter-chart/compare/v1.6.9...v1.6.10) (2021-05-11)
### Bug Fixes
* cronjobs broken ([34eceef](https://git.panter.ch/catladder/helm-charts/the-panter-chart/commit/34eceef7b2b6ae320b9b85d43064b925759c270c))
## [1.6.9](https://git.panter.ch/catladder/helm-charts/the-panter-chart/compare/v1.6.8...v1.6.9) (2021-05-11)
......
......@@ -19,6 +19,9 @@ metadata:
spec:
schedule: {{ $job.schedule | quote}}
# concerning concurreny we also set it to allow as default like in kubernetes i
# see https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/#concurrency-policy
concurrencyPolicy: "{{- default "Allow" $job.concurrencyPolicy -}}"
jobTemplate:
spec:
template:
......@@ -28,9 +31,6 @@ spec:
- name: {{ $context.Values.image.pullSecret }}
{{- end }}
restartPolicy: Never
# concerning concurreny we also set it to allow as default like in kubernetes i
# see https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/#concurrency-policy
concurrencyPolicy: "{{- default "Allow" $job.concurrencyPolicy -}}"
containers:
- name: {{ $job.name }}-cronjob
{{include "env" $context | nindent 12}}
......