From e8dc3692a0a05e34e68cb537cee890e220076560 Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Tue, 26 Mar 2024 13:39:54 +0100 Subject: [PATCH] fix(helm): image repo transformation yielding invalid yaml string syntax Signed-off-by: Richard Steinmetz --- nextcloud-aio-helm-chart/update-helm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud-aio-helm-chart/update-helm.sh b/nextcloud-aio-helm-chart/update-helm.sh index 4545a413..bf83b834 100755 --- a/nextcloud-aio-helm-chart/update-helm.sh +++ b/nextcloud-aio-helm-chart/update-helm.sh @@ -301,7 +301,7 @@ EOL find ./ -name '*apache-deployment.yaml' -exec sed -i "/^.*\- env:/r /tmp/additional-apache.config" \{} \; # shellcheck disable=SC1083 -find ./ -name '*deployment.yaml' -exec sed -i 's|image: nextcloud/|image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}"/|' \{} \; +find ./ -name '*deployment.yaml' -exec sed -i 's|image: nextcloud/|image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/|;s/$/"/;' \{} \; cd ../ mkdir -p ../helm-chart/