File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ IMG ?= $(DEFAULT_IMG)
5757# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
5858ENVTEST_K8S_VERSION = 1.31
5959
60+ SETUP_ENVTEST_VERSION ?= release-0.22
61+
6062# Set minimum Go version
6163GOTOOLCHAIN_VERSION ?= go1.24.0
6264
@@ -235,7 +237,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
235237envtest : $(ENVTEST ) # # Download envtest-setup locally if necessary.
236238$(ENVTEST ) : $(LOCALBIN )
237239 # TODO: revisit pinned version once https://github.com/kubernetes-sigs/controller-runtime/issues/2720 is fixed
238- test -s $(LOCALBIN ) /setup-envtest || GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
240+ test -s $(LOCALBIN ) /setup-envtest || GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$( SETUP_ENVTEST_VERSION )
239241
240242.PHONY : ginkgo
241243ginkgo : $(GINKGO ) # # Download ginkgo locally if necessary.
You can’t perform that action at this time.
0 commit comments