From 81de55fedd3227bf43d21bec527e9702dfaa118b Mon Sep 17 00:00:00 2001 From: Yi Chen <69284638+yi-portainer@users.noreply.github.com> Date: Tue, 2 Feb 2021 11:12:40 +1300 Subject: [PATCH] * fix missing kubectl download (#4802) --- build/download_kubectl_binary.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/download_kubectl_binary.sh b/build/download_kubectl_binary.sh index 32215bace..4b9714244 100755 --- a/build/download_kubectl_binary.sh +++ b/build/download_kubectl_binary.sh @@ -4,8 +4,6 @@ PLATFORM=$1 ARCH=$2 KUBECTL_VERSION=$3 -exit 0 - if [ "${PLATFORM}" == 'linux' ]; then wget -O "dist/kubectl" "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/${PLATFORM}/${ARCH}/kubectl" chmod +x "dist/kubectl" @@ -13,3 +11,5 @@ elif [ "${PLATFORM}" == 'windows' ]; then wget -O "dist/kubectl.exe" "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/windows/amd64/kubectl.exe" chmod +x "dist/kubectl.exe" fi + +exit 0