From 5c6380d32b72edbe9c9ce39a9e934fcf6d3204ca Mon Sep 17 00:00:00 2001 From: Unai Arrien Date: Fri, 22 Nov 2024 18:15:44 +0100 Subject: [PATCH] [PLT-795] Bump Helm version during helm package to support chart OCI dependencies --- bin/chart.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/chart.sh b/bin/chart.sh index eb5fa562..4d388a19 100755 --- a/bin/chart.sh +++ b/bin/chart.sh @@ -15,9 +15,10 @@ CHART_TEMP_DIR="target" mkdir -p "${CHART_TEMP_DIR}" cp -R charts/${NAME} "${CHART_TEMP_DIR}/${NAME}" +# We need to bump Helm version during chart package to support chart OCI dependencies +curl -sSLf https://raw.githubusercontent.com/helm/helm/v3.16.3/scripts/get-helm-3 | bash -s -- --version v3.16.3 --no-sudo helm package "${CHART_TEMP_DIR}/${NAME}" \ --app-version=${VERSION} \ --version=${VERSION} \ --dependency-update \ --destination=${CHART_TEMP_DIR} -