From 7c1956be8a89fcecb122f8f11d893ccd5a342e8f Mon Sep 17 00:00:00 2001 From: Dibir Magomedsaygitov <61747324+dibir-magomedsaygitov@users.noreply.github.com> Date: Mon, 2 Aug 2021 22:11:44 +0300 Subject: [PATCH] [Ubuntu] Fix kubectl installation (#3836) * fix kubectl installation --- images/linux/scripts/installers/kubernetes-tools.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/linux/scripts/installers/kubernetes-tools.sh b/images/linux/scripts/installers/kubernetes-tools.sh index a32e7ea57..06d35ff91 100644 --- a/images/linux/scripts/installers/kubernetes-tools.sh +++ b/images/linux/scripts/installers/kubernetes-tools.sh @@ -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