[CI/CD] Update kubectl installation in check_install_docker.sh script
This commit updates the check_install_docker.sh script used in the Jenkins installers. It modifies the installation command for kubectl to use the updated URL: https://dl.k8s.io/release/$(curl -sL https://dl.k8s.io/release/stable.txt)/bin/linux/${ARCH}/kubectl. This ensures that the latest version of kubectl is downloaded and installed during the Jenkins installation process. The previous URL https://storage.googleapis.com/kubernetes-release/release/stable.txt is being moved. Signed-off-by: Ricky Sadowski <richard.j.sadowski@gmail.com>pull/16487/head
parent
a017d16035
commit
cd9b22dff5
|
@ -30,5 +30,5 @@ rm get-docker.sh
|
|||
sudo adduser jenkins docker || true
|
||||
|
||||
echo "Installing latest kubectl"
|
||||
curl -LO "https://dl.k8s.io/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/${ARCH}/kubectl"
|
||||
curl -LO "https://dl.k8s.io/release/$(curl -sL https://dl.k8s.io/release/stable.txt)/bin/linux/${ARCH}/kubectl"
|
||||
sudo install ./kubectl /usr/local/bin/kubectl
|
||||
|
|
Loading…
Reference in New Issue