fix: support annotations for cronjob
This commit is contained in:
parent
42065f14aa
commit
8b885f7db1
@ -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 }}
|
||||||
|
@ -38,6 +38,7 @@ securityContext: {}
|
|||||||
|
|
||||||
cronjob:
|
cronjob:
|
||||||
schedule: '@hourly'
|
schedule: '@hourly'
|
||||||
|
annotations: {}
|
||||||
suspend: false
|
suspend: false
|
||||||
concurrencyPolicy: Forbid
|
concurrencyPolicy: Forbid
|
||||||
failedJobsHistoryLimit: 3
|
failedJobsHistoryLimit: 3
|
||||||
|
Loading…
Reference in New Issue
Block a user