Skip to content

Commit

Permalink
Merge pull request #4447 from nextcloud/fix/helm/mirror-prefix
Browse files Browse the repository at this point in the history
fix(helm): image repo transformation yielding invalid yaml string syntax
  • Loading branch information
szaimen authored Mar 26, 2024
2 parents ab670a1 + e8dc369 commit 03f9288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nextcloud-aio-helm-chart/update-helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 03f9288

Please sign in to comment.