From 6899613aedc5548ca0a378ed6a59d3c656c3ab2d Mon Sep 17 00:00:00 2001 From: Rafael Fonseca Date: Thu, 6 Jun 2024 15:48:51 +0200 Subject: [PATCH] hack: update URL of envtest binaries download To align with https://github.com/kubernetes-sigs/controller-runtime/pull/2811 --- hack/build-cluster-api.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/build-cluster-api.sh b/hack/build-cluster-api.sh index 0b1ecb1b82..5beff0280d 100644 --- a/hack/build-cluster-api.sh +++ b/hack/build-cluster-api.sh @@ -36,8 +36,8 @@ sync_envtest() { fi fi - bucket="https://storage.googleapis.com/kubebuilder-tools" - tar_file="kubebuilder-tools-${ENVTEST_K8S_VERSION}-${ENVTEST_ARCH}.tar.gz" + bucket="https://github.com/kubernetes-sigs/controller-tools/releases/download/envtest-v${ENVTEST_K8S_VERSION}" + tar_file="envtest-v${ENVTEST_K8S_VERSION}-${ENVTEST_ARCH}.tar.gz" dst="${CLUSTER_API_BIN_DIR}/${tar_file}" if ! [ -f "${CLUSTER_API_BIN_DIR}/${tar_file}" ]; then echo "Downloading envtest binaries"