🧱(helm) include app labels and cron job name in cron jobs

Jobs created from cron jobs were lacking some labels that ease
with targetting them notably as part of network policies.
This commit is contained in:
Florent Chehab
2026-06-22 15:38:26 +02:00
parent 8efb11b3ae
commit 3300226bbe
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
apiVersion: v2
type: application
name: meet
version: 0.0.24
version: 0.0.25
@@ -23,6 +23,9 @@ items:
template:
metadata:
name: {{ $fullName }}-{{ .name }}
labels:
cronjob-name: {{ .name }}
{{- include "meet.common.labels" (list $ $component) | nindent 16 }}
spec:
{{- if $.Values.image.credentials }}
imagePullSecrets: