fix: move to dl.k8s.io from kubernetes-release bucket
				
					
				
			Signed-off-by: Ricky Sadowski <richard.j.sadowski@gmail.com>
This commit is contained in:
		| @@ -288,12 +288,7 @@ function load-or-gen-kube-basicauth() { | ||||
| #   KUBE_VERSION | ||||
| function set_binary_version() { | ||||
|   if [[ "${1}" =~ "/" ]]; then | ||||
|     IFS='/' read -r -a path <<< "${1}" | ||||
|     if [[ "${path[0]}" == "release" ]]; then | ||||
|       KUBE_VERSION=$(gsutil cat "gs://kubernetes-release/${1}.txt") | ||||
|     else | ||||
|       KUBE_VERSION=$(gsutil cat "gs://k8s-release-dev/${1}.txt") | ||||
|     fi | ||||
|     KUBE_VERSION=$(curl -sL "https://dl.k8s.io/${1}.txt") | ||||
|   else | ||||
|     KUBE_VERSION=${1} | ||||
|   fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ricky Sadowski
					Ricky Sadowski