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 @@ -55,6 +55,8 @@ IMG ?= quay.io/openstack-k8s-operators/neutron-operator:latest
5555# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
5656ENVTEST_K8S_VERSION = 1.31
5757
58+ SETUP_ENVTEST_VERSION ?= release-0.22
59+
5860# Set minimum Go version
5961GOTOOLCHAIN_VERSION ?= go1.24.0
6062
@@ -231,7 +233,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
231233envtest : $(ENVTEST ) # # Download envtest-setup locally if necessary.
232234$(ENVTEST ) : $(LOCALBIN )
233235 # TODO: revisit pinned version once https://github.com/kubernetes-sigs/controller-runtime/issues/2720 is fixed
234- test -s $(LOCALBIN ) /setup-envtest || GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
236+ test -s $(LOCALBIN ) /setup-envtest || GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$( SETUP_ENVTEST_VERSION )
235237
236238.PHONY : operator-sdk
237239OPERATOR_SDK ?= $(LOCALBIN ) /operator-sdk
You can’t perform that action at this time.
0 commit comments