Skip to content

Commit aaacebc

Browse files
Merge pull request openstack-k8s-operators#629 from dprince/setup_env_022
Use [email protected] for ironic
2 parents 5787f68 + 5a3e546 commit aaacebc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ IMG ?= controller:latest
5555
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
5656
ENVTEST_K8S_VERSION = 1.31
5757

58+
SETUP_ENVTEST_VERSION ?= release-0.22
59+
5860
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
5961
ifeq (,$(shell go env GOBIN))
6062
GOBIN=$(shell go env GOPATH)/bin
@@ -218,7 +220,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
218220
.PHONY: envtest
219221
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
220222
$(ENVTEST): $(LOCALBIN)
221-
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
223+
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$(SETUP_ENVTEST_VERSION)
222224

223225
.PHONY: operator-sdk
224226
OPERATOR_SDK ?= $(LOCALBIN)/operator-sdk

0 commit comments

Comments
 (0)