postgresql: 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: I888ca6f25c97e3deb6710e2e6be5a87a6133604b
This commit is contained in:
parent
f26b203637
commit
3860dedef3
@ -26,6 +26,8 @@ metadata:
|
||||
name: postgresql-backup
|
||||
annotations:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
||||
labels:
|
||||
{{ tuple $envAll "postgresql-backup" "backup" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||
spec:
|
||||
schedule: {{ .Values.jobs.backup_postgresql.cron | quote }}
|
||||
successfulJobsHistoryLimit: {{ .Values.jobs.backup_postgresql.history.success }}
|
||||
|
Loading…
Reference in New Issue
Block a user