Commit 7a2f3923 authored by keshavprasadms's avatar keshavprasadms
Browse files

fix: now requires kubectl 1.21 and above for --dry-run=client

Showing with 4 additions and 6 deletions
+4 -6
......@@ -125,13 +125,11 @@ rm -rf /usr/local/bin/helm
cp linux-386/helm /usr/local/bin/helm
rm -rf helm-v* linux-amd*
# Install kubectl
# Install kubectl v1.23.0
echo -e "\n\e[0;32m${bold}Installating kubectl${normal}"
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
touch /etc/apt/sources.list.d/kubernetes.list
echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
apt-get update
apt-get install -y kubectl
curl -LO https://dl.k8s.io/release/v1.23.0/bin/linux/amd64/kubectl
chmod +x kubectl
mv kubectl /usr/local/bin
#Install yarn
echo -e "\n\e[0;32m${bold}Installating yarn${normal}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment