Skip to content

Commit

Permalink
Fix the wrong download URL of helm and ks (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen authored Apr 13, 2022
1 parent e04ce39 commit d779756
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions base/hack/install_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ HELM_VERSION=2.11.0
HELM3_VERSIOIN=3.5.0

if [[ ${ARCH} == 'x86_64' ]]; then
curl -f https://storage.googleapis.com/kubernetes-helm/helm-v${HELM_VERSION}-linux-amd64.tar.gz | tar xzv && \
curl -f https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz | tar xzv && \
mv linux-amd64/helm /usr/bin/ && \
mv linux-amd64/tiller /usr/bin/ && \
rm -rf linux-amd64
Expand All @@ -37,7 +37,7 @@ if [[ ${ARCH} == 'x86_64' ]]; then
rm -rf linux-amd64
elif [[ ${ARCH} == 'aarch64' ]]
then
curl -f https://storage.googleapis.com/kubernetes-helm/helm-v${HELM_VERSION}-linux-arm64.tar.gz | tar xzv && \
curl -f https://get.helm.sh/helm-v${HELM_VERSION}-linux-arm64.tar.gz | tar xzv && \
mv linux-arm64/helm /usr/bin/ && \
mv linux-arm64/tiller /usr/bin/ && \
rm -rf linux-arm64
Expand Down Expand Up @@ -67,7 +67,7 @@ else
fi

# ks
KS_VERSION=v0.0.64
KS_VERSION=0.0.64
if [[ ${ARCH} == 'x86_64' ]]; then
curl -fL https://github.com/kubesphere-sigs/ks/releases/download/v${KS_VERSION}/ks-linux-amd64.tar.gz | tar xzv && \
mv ks /usr/bin/
Expand Down

0 comments on commit d779756

Please sign in to comment.