fix(glance): add missing job annotations

This is pretty standard in all the other charts to allow custom job
annotations to be applied to jobs and the clean, metadefs-load, and
storage-init were missing it.

Change-Id: Iad63a920967879a5fe5ed10169672f170410fa78
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
Doug Goldstein
2025-07-25 15:47:56 -05:00
parent 80041dfbb5
commit 35d3e9188e
4 changed files with 9 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ metadata:
annotations:
"helm.sh/hook": pre-delete
"helm.sh/hook-delete-policy": hook-succeeded
{{ tuple $serviceAccountName $envAll | include "helm-toolkit.snippets.custom_job_annotations" | indent 4 -}}
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec:
template:

View File

@@ -28,6 +28,7 @@ metadata:
{{- if .Values.helm3_hook }}
helm.sh/hook: post-install,post-upgrade
{{- end }}
{{ tuple $serviceAccountName $envAll | include "helm-toolkit.snippets.custom_job_annotations" | indent 4 -}}
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec:
template:

View File

@@ -56,6 +56,7 @@ metadata:
{{- if .Values.helm3_hook }}
helm.sh/hook: post-install,post-upgrade
{{- end }}
{{ tuple $serviceAccountName $envAll | include "helm-toolkit.snippets.custom_job_annotations" | indent 4 -}}
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec:
template:

View File

@@ -0,0 +1,6 @@
---
fixes:
- |
Fix missing job annotation support from values.yaml on the clean, metadefs-load,
and storage-init jobs.
...