mariadb: Add metadata labels to CronJob
This change adds the same helm-toolkit-generated metadata labels to the CronJob itself that are applied to the Jobs it creates. Change-Id: I217422e9e9c30d6a93d8e6aa4501a19e9c74c9f6
This commit is contained in:
parent
f26b203637
commit
df920e7a47
@ -26,6 +26,8 @@ metadata:
|
||||
name: mariadb-backup
|
||||
annotations:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
||||
labels:
|
||||
{{ tuple $envAll "mariadb-backup" "backup" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||
spec:
|
||||
schedule: {{ .Values.jobs.backup_mariadb.cron | quote }}
|
||||
successfulJobsHistoryLimit: {{ .Values.jobs.backup_mariadb.history.success }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user