Skip to content

Commit

Permalink
[PLT-795] Bump Helm version during helm package to support chart OCI …
Browse files Browse the repository at this point in the history
…dependencies
  • Loading branch information
unai-ttxu committed Nov 22, 2024
1 parent ea4a681 commit 5c6380d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 5c6380d

Please sign in to comment.