From 9bfafc96911fbd9abdeaa95af9b819e8a7fd01dc Mon Sep 17 00:00:00 2001 From: KunWuLuan Date: Wed, 3 Apr 2024 14:40:35 +0800 Subject: [PATCH] use sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.17 Signed-off-by: KunWuLuan --- hack/install-envtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/install-envtest.sh b/hack/install-envtest.sh index d1cf5688b..65cf5f533 100755 --- a/hack/install-envtest.sh +++ b/hack/install-envtest.sh @@ -32,6 +32,6 @@ version=$(cat ${SCRIPT_ROOT}/go.mod | grep 'k8s.io/kubernetes' | grep -v '=>' | GOPATH=$(go env GOPATH) TEMP_DIR=${TMPDIR-/tmp} -go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest +go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.17 "${GOPATH}"/bin/setup-envtest use -p env "${version}" > "${TEMP_DIR}/setup-envtest"