Merge "elasticsearch: Add metadata labels to CronJob"

This commit is contained in:
Zuul 2020-04-01 09:23:32 +00:00 committed by Gerrit Code Review
commit 0541bdc6b5
2 changed files with 4 additions and 0 deletions

View File

@ -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 }}

View File

@ -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 }}