fix: support suspend
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2022-02-10 20:55:33 +01:00
parent 693b75bd3c
commit 6e3c7b95f2
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,9 @@ metadata:
{{- include "renovate.labels" . | nindent 4 }}
spec:
schedule: "{{ .Values.cronjob.schedule }}"
{{- with .Values.cronjob.suspend }}
suspend: {{ . }}
{{- end }}
{{- with .Values.cronjob.concurrencyPolicy }}
concurrencyPolicy: {{ . }}
{{- end }}

View File

@ -38,6 +38,7 @@ securityContext: {}
cronjob:
schedule: '@hourly'
suspend: false
concurrencyPolicy: Forbid
failedJobsHistoryLimit: 3
successfulJobsHistoryLimit: 1