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 }}
kind: CronJob
metadata:
{{- if .Values.cronjob.annotations }}
annotations:
{{ toYaml .Values.cronjob.annotations | nindent 4 }}
{{- end }}
name: {{ include "renovate.fullname" . }}
labels:
{{- include "renovate.labels" . | nindent 4 }}

View File

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