From 7bcc0b9572b8845462f5bd5a8312b3a3bc00399a Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Mon, 28 Jul 2025 15:29:37 -0500 Subject: [PATCH] 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 --- glance/templates/job-metadefs-load.yaml | 2 +- glance/templates/job-storage-init.yaml | 2 +- horizon/templates/job-db-sync.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/glance/templates/job-metadefs-load.yaml b/glance/templates/job-metadefs-load.yaml index dfaeade04f..401274897f 100644 --- a/glance/templates/job-metadefs-load.yaml +++ b/glance/templates/job-metadefs-load.yaml @@ -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: diff --git a/glance/templates/job-storage-init.yaml b/glance/templates/job-storage-init.yaml index 86c09c7eb5..2fddf9b4f5 100644 --- a/glance/templates/job-storage-init.yaml +++ b/glance/templates/job-storage-init.yaml @@ -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: diff --git a/horizon/templates/job-db-sync.yaml b/horizon/templates/job-db-sync.yaml index c35e4b4567..616a619447 100644 --- a/horizon/templates/job-db-sync.yaml +++ b/horizon/templates/job-db-sync.yaml @@ -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: