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 @@ DEFAULT_IMG ?= quay.io/openstack-k8s-operators/glance-operator:latest
5757IMG ?= $(DEFAULT_IMG )
5858# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
5959ENVTEST_K8S_VERSION = 1.31
60+
61+ SETUP_ENVTEST_VERSION ?= release-0.22
6062GINKGO ?= $(LOCALBIN ) /ginkgo
6163
6264# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
@@ -249,7 +251,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
249251.PHONY : envtest
250252envtest : $(ENVTEST ) # # Download envtest-setup locally if necessary.
251253$(ENVTEST ) : $(LOCALBIN )
252- test -s $(LOCALBIN ) /setup-envtest || GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
254+ test -s $(LOCALBIN ) /setup-envtest || GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$( SETUP_ENVTEST_VERSION )
253255
254256.PHONY : operator-sdk
255257OPERATOR_SDK ?= $(LOCALBIN ) /operator-sdk
You can’t perform that action at this time.
0 commit comments