mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
* fix missing kubectl download (#4802)
This commit is contained in:
parent
84827b8782
commit
81de55fedd
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,6 @@ PLATFORM=$1
|
||||||
ARCH=$2
|
ARCH=$2
|
||||||
KUBECTL_VERSION=$3
|
KUBECTL_VERSION=$3
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
if [ "${PLATFORM}" == 'linux' ]; then
|
if [ "${PLATFORM}" == 'linux' ]; then
|
||||||
wget -O "dist/kubectl" "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/${PLATFORM}/${ARCH}/kubectl"
|
wget -O "dist/kubectl" "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/${PLATFORM}/${ARCH}/kubectl"
|
||||||
chmod +x "dist/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"
|
wget -O "dist/kubectl.exe" "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/windows/amd64/kubectl.exe"
|
||||||
chmod +x "dist/kubectl.exe"
|
chmod +x "dist/kubectl.exe"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue