fix: support annotations for cronjob

This commit is contained in:
Markus Pesch 2022-02-10 20:57:41 +01:00
parent 42065f14aa
commit 8b885f7db1
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,10 @@ apiVersion: batch/v1beta1
{{- end }} {{- end }}
kind: CronJob kind: CronJob
metadata: metadata:
{{- if .Values.cronjob.annotations }}
annotations:
{{ toYaml .Values.cronjob.annotations | nindent 4 }}
{{- end }}
name: {{ include "renovate.fullname" . }} name: {{ include "renovate.fullname" . }}
labels: labels:
{{- include "renovate.labels" . | nindent 4 }} {{- include "renovate.labels" . | nindent 4 }}

View File

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