We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d3ad27 + 7b8cce9 commit f48ad62Copy full SHA for f48ad62
installers/kubectl/installer.sh
@@ -23,6 +23,10 @@ APK_CMD=$(which apk) # apk package manager for Alpine
23
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
24
EOF
25
sudo yum install -y kubectl
26
+ elif [ ! -z $APK_CMD ]; then
27
+ sudo apk add --no-cache curl ca-certificates && sudo apk add --update -t deps curl
28
+ curl -L https://storage.googleapis.com/kubernetes-release/release/v1.13.3/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl
29
+ chmod +x /usr/local/bin/kubectl
30
else
31
echo "Couldn't install package"
32
exit 1;
0 commit comments