* fix missing kubectl download (#4802)

pull/4804/head
Yi Chen 4 years ago committed by GitHub
parent 84827b8782
commit 81de55fedd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save