mirror of
https://github.com/rancher/rke.git
synced 2025-09-12 21:24:00 +00:00
Merge pull request #3697 from vardhaman22/update-kubectl-url
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -5,7 +5,7 @@ function kubectlinstall {
|
||||
k8sversion=$1
|
||||
if [ ! -f "/usr/local/bin/kubectl-${k8sversion}" ]; then
|
||||
echo_with_time "Downloading kubectl ${k8sversion}"
|
||||
curl -sL -o "/usr/local/bin/kubectl-${k8sversion}" "https://storage.googleapis.com/kubernetes-release/release/${k8sversion}/bin/linux/amd64/kubectl"
|
||||
curl -sL -o "/usr/local/bin/kubectl-${k8sversion}" "https://dl.k8s.io/release/${k8sversion}/bin/linux/amd64/kubectl"
|
||||
chmod +x "/usr/local/bin/kubectl-${k8sversion}"
|
||||
fi
|
||||
}
|
||||
|
Reference in New Issue
Block a user