Skip to content

Commit 2b1b5a7

Browse files
committed
[CI/CD] Update Kubernetes version retrieval in kube-init.sh script
This commit updates the kube-init.sh script to retrieve the Kubernetes version using the updated URL: https://dl.k8s.io/release/stable.txt. The previous URL (https://storage.googleapis.com/kubernetes-release/release/stable.txt) is no longer valid. This change ensures that the script installs the correct and up-to-date Kubernetes version by fetching the version information from the new URL. Signed-off-by: Ricky Sadowski <[email protected]>
1 parent 2f546b9 commit 2b1b5a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/kube-init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ docker --version
5454
# installs per default
5555
# See:
5656
# https://github.com/kubernetes/minikube/blob/master/pkg/minikube/constants/constants.go
57-
K8S_VERSION=$(curl -sS https://storage.googleapis.com/kubernetes-release/release/stable.txt)
57+
K8S_VERSION=$(curl -sS https://dl.k8s.io/release/stable.txt)
5858
echo "K8S_VERSION : ${K8S_VERSION}"
5959

6060
# You can pass variables to minikube using MINIKUBE_ARGS

0 commit comments

Comments
 (0)