diff --git a/elasticsearch/templates/cron-job-curator.yaml b/elasticsearch/templates/cron-job-curator.yaml index 7a6a4d57d6..221006f76f 100644 --- a/elasticsearch/templates/cron-job-curator.yaml +++ b/elasticsearch/templates/cron-job-curator.yaml @@ -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 }} diff --git a/elasticsearch/templates/cron-job-verify-repositories.yaml b/elasticsearch/templates/cron-job-verify-repositories.yaml index a1b8a9731c..3548ccf28f 100644 --- a/elasticsearch/templates/cron-job-verify-repositories.yaml +++ b/elasticsearch/templates/cron-job-verify-repositories.yaml @@ -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 }}