HELM_DIST=“helm- T A G − TAG- TAG−OS-$ARCH.tar.gz”
DOWNLOAD_URL=“https://get.helm.sh/$HELM_DIST”
CHECKSUM_URL=“$DOWNLOAD_URL.sha256”
HELM_TMP_ROOT=“$(mktemp -dt helm-installer-XXXXXX)”
HELM_TMP_FILE=“ H E L M T M P R O O T / HELM_TMP_ROOT/ HELMTMPROOT/HELM_DIST”
HELM_SUM_FILE=“ H E L M T M P R O O T / HELM_TMP_ROOT/ HELMTMPROOT/HELM_DIST.sha256”
echo “Downloading $DOWNLOAD_URL”
if [ “${HAS_CURL}” == “true” ]; then
curl -SsL “ C H E C K S U M U R L " − o " CHECKSUM_URL" -o " CHECKSUMURL