[Ubuntu] Fix kubectl installation (#3836)

* fix kubectl installation
This commit is contained in:
Dibir Magomedsaygitov
2021-08-02 22:11:44 +03:00
committed by GitHub
parent e9a8f1dac7
commit 7c1956be8a

View File

@@ -10,8 +10,8 @@ curl -L -o /usr/local/bin/kind $URL
chmod +x /usr/local/bin/kind
## Install kubectl
KUBECTL_VERSION=$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)
curl -o /usr/local/bin/kubectl -LO https://storage.googleapis.com/kubernetes-release/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl
KUBECTL_VERSION=$(curl -L -s "https://dl.k8s.io/release/stable.txt")
curl -o /usr/local/bin/kubectl -LO "https://dl.k8s.io/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl"
chmod +x /usr/local/bin/kubectl
# Install Helm