elasticsearch: 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: I6a88bae2c4962d37fcc76ace2e32cd41163ffebe
This commit is contained in:
parent
f26b203637
commit
e5e32cbadc
@ -28,6 +28,8 @@ metadata:
|
||||
name: elastic-curator
|
||||
annotations:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
||||
labels:
|
||||
{{ tuple $envAll "elasticsearch" "curator" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||
spec:
|
||||
schedule: {{ .Values.jobs.curator.cron | quote }}
|
||||
successfulJobsHistoryLimit: {{ .Values.jobs.curator.history.success }}
|
||||
|
@ -28,6 +28,8 @@ metadata:
|
||||
name: elasticsearch-verify-repositories
|
||||
annotations:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
||||
labels:
|
||||
{{ tuple $envAll "elasticsearch" "verify-repositories" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||
spec:
|
||||
schedule: {{ .Values.jobs.verify_repositories.cron | quote }}
|
||||
successfulJobsHistoryLimit: {{ .Values.jobs.verify_repositories.history.success }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user