diff --git a/ceph-client/templates/cronjob-checkPGs.yaml b/ceph-client/templates/cronjob-checkPGs.yaml index faac837e1..fbddf13ad 100644 --- a/ceph-client/templates/cronjob-checkPGs.yaml +++ b/ceph-client/templates/cronjob-checkPGs.yaml @@ -55,6 +55,8 @@ metadata: name: {{ $serviceAccountName }} annotations: {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} + labels: +{{ tuple $envAll "ceph" "pool-checkpgs" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: schedule: {{ .Values.jobs.pool_checkPGs.cron | quote }} successfulJobsHistoryLimit: {{ .Values.jobs.pool_checkPGs.history.successJob }} diff --git a/ceph-client/templates/cronjob-defragosds.yaml b/ceph-client/templates/cronjob-defragosds.yaml index 92659d29b..640b242e6 100644 --- a/ceph-client/templates/cronjob-defragosds.yaml +++ b/ceph-client/templates/cronjob-defragosds.yaml @@ -55,6 +55,8 @@ metadata: name: {{ $serviceAccountName }} annotations: {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} + labels: +{{ tuple $envAll "ceph" "ceph-defragosds" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: schedule: {{ .Values.jobs.ceph_defragosds.cron | quote }} successfulJobsHistoryLimit: {{ .Values.jobs.ceph_defragosds.history.successJob }}