gnocchi: 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: I59982558c4a29c6611a28191206b1c8400b6a8c9
This commit is contained in:
parent
f26b203637
commit
44175bba47
@ -29,6 +29,8 @@ metadata:
|
||||
name: gnocchi-resources-cleaner
|
||||
annotations:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
||||
labels:
|
||||
{{ tuple $envAll "gnocchi" "resources-cleaner" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||
spec:
|
||||
schedule: {{ .Values.jobs.resources_cleaner.cron | quote }}
|
||||
successfulJobsHistoryLimit: {{ .Values.jobs.resources_cleaner.history.success }}
|
||||
|
Loading…
Reference in New Issue
Block a user