Skip to content

Commit d7e358d

Browse files
committed
Use dl.k8s.io instead of hardcoded GCS URIs
The `storage.googleapis.com/kubernetes-release` URL is a hard coded path to a GCS bucket location. To allow redirecting and spreading the load across multiple hosting locations, the `dl.k8s.io` URL has been introduced. Signed-off-by: Sean McGinnis <[email protected]>
1 parent 783aeea commit d7e358d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/ensure-kubectl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ verify_kubectl_version() {
3131
mkdir -p "${GOPATH_BIN}"
3232
fi
3333
echo 'kubectl not found, installing'
34-
curl -sLo "${GOPATH_BIN}/kubectl" https://storage.googleapis.com/kubernetes-release/release/${MINIMUM_KUBECTL_VERSION}/bin/linux/amd64/kubectl
34+
curl -sLo "${GOPATH_BIN}/kubectl" https://dl.k8s.io/release/${MINIMUM_KUBECTL_VERSION}/bin/linux/amd64/kubectl
3535
chmod +x "${GOPATH_BIN}/kubectl"
3636
else
3737
echo "Missing required binary in path: kubectl"

0 commit comments

Comments
 (0)