[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 <richard.j.sadowski@gmail.com>
This commit is contained in:
Ricky Sadowski 2023-05-11 14:27:00 +00:00
parent 2f546b9dcb
commit 2b1b5a705a

View File

@ -54,7 +54,7 @@ docker --version
# installs per default
# See:
# https://github.com/kubernetes/minikube/blob/master/pkg/minikube/constants/constants.go
K8S_VERSION=$(curl -sS https://storage.googleapis.com/kubernetes-release/release/stable.txt)
K8S_VERSION=$(curl -sS https://dl.k8s.io/release/stable.txt)
echo "K8S_VERSION : ${K8S_VERSION}"
# You can pass variables to minikube using MINIKUBE_ARGS