fix: correct bad whitespace in template from prior changes

The following two changes trimmed whitespace which is how helm-toolkit
is done but it cannot be done like this here otherwise it wraps the next
line in.
- Iad63a920967879a5fe5ed10169672f170410fa78
- I9062356aadd4049ab68c514c9755a052f52cdfb9

This fixes those two changes to be correct. Skipped the releasenote
since those changes just landed and this is a fast follow.

Change-Id: I2b4ea84d4eff2833d72079c580c8e3cb9356057a
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
Doug Goldstein
2025-07-28 15:29:37 -05:00
parent 05dec8ab60
commit 7bcc0b9572
3 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +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 $serviceAccountName $envAll | include "helm-toolkit.snippets.custom_job_annotations" | indent 4 }}
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec:
template:

View File

@@ -56,7 +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 $serviceAccountName $envAll | include "helm-toolkit.snippets.custom_job_annotations" | indent 4 }}
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec:
template:

View File

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