diff --git a/hack/install-envtest.sh b/hack/install-envtest.sh index d1cf5688b2..51ebc184d9 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@0.17.2 "${GOPATH}"/bin/setup-envtest use -p env "${version}" > "${TEMP_DIR}/setup-envtest"