1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00

hack: update URL of envtest binaries download

To align with https://github.com/kubernetes-sigs/controller-runtime/pull/2811
This commit is contained in:
Rafael Fonseca
2024-06-06 15:48:51 +02:00
parent 93fa8b1351
commit 6899613aed

View File

@@ -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"