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 @@ DEFAULT_IMG ?= quay.io/openstack-k8s-operators/nova-operator:latest
5555IMG ?= $(DEFAULT_IMG )
5656# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
5757ENVTEST_K8S_VERSION = 1.31
58+
59+ SETUP_ENVTEST_VERSION ?= release-0.22
5860CATALOG_IMAGE ?= quay.io/openstack-k8s-operators/nova-operator-index:latest
5961
6062# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
@@ -236,7 +238,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
236238.PHONY : envtest
237239envtest : $(ENVTEST ) # # Download envtest-setup locally if necessary.
238240$(ENVTEST ) : $(LOCALBIN )
239- test -s $(LOCALBIN ) /setup-envtest || GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
241+ test -s $(LOCALBIN ) /setup-envtest || GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$( SETUP_ENVTEST_VERSION )
240242
241243
242244.PHONY : ginkgo
You can’t perform that action at this time.
0 commit comments