From 40aca58b54b0d5d6ca05cdd6b508b61a47edf678 Mon Sep 17 00:00:00 2001 From: hwdef Date: Fri, 18 Mar 2022 16:15:48 +0800 Subject: [PATCH] update helm version in install.sh Signed-off-by: hwdef --- hack/lib/install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hack/lib/install.sh b/hack/lib/install.sh index 74cd60882a..77ea4b4f25 100644 --- a/hack/lib/install.sh +++ b/hack/lib/install.sh @@ -82,9 +82,8 @@ function install-helm { if [[ $? -ne 0 ]]; then echo "Installing helm via script" HELM_TEMP_DIR=$(mktemp -d) - curl https://raw.githubusercontent.com/helm/helm/master/scripts/get > ${HELM_TEMP_DIR}/get_helm.sh - # TODO: There are some issue with helm's latest version, remove '--version' when it get fixed. - chmod 700 ${HELM_TEMP_DIR}/get_helm.sh && ${HELM_TEMP_DIR}/get_helm.sh --version v3.5.3 + curl -fsSL -o ${HELM_TEMP_DIR}/get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 + chmod 700 ${HELM_TEMP_DIR}/get_helm.sh && ${HELM_TEMP_DIR}/get_helm.sh else echo -n "Found helm, version: " && helm version fi