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 @@ -62,6 +62,8 @@ IMG ?= $(DEFAULT_IMG)
6262# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
6363ENVTEST_K8S_VERSION = 1.31
6464
65+ SETUP_ENVTEST_VERSION ?= release-0.22
66+
6567GINKGO ?= $(LOCALBIN ) /ginkgo
6668
6769PROCS ?=$(shell expr $(shell nproc --ignore 2) / 4)
@@ -270,7 +272,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
270272.PHONY : envtest
271273envtest : $(ENVTEST ) # # Download envtest-setup locally if necessary.
272274$(ENVTEST ) : $(LOCALBIN )
273- test -s $(LOCALBIN ) /setup-envtest || GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
275+ test -s $(LOCALBIN ) /setup-envtest || GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$( SETUP_ENVTEST_VERSION )
274276
275277.PHONY : operator-sdk $(OPERATOR_SDK )
276278OPERATOR_SDK ?= $(LOCALBIN ) /operator-sdk
You can’t perform that action at this time.
0 commit comments