Skip to content

Commit 8387ba2

Browse files
committed
fix envtest version when latest need golang 1.23
1 parent b703b78 commit 8387ba2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ OPERATOR_SDK_VERSION ?= 1.29.0
6767

6868
CERTMANAGER_VERSION ?= 1.10.0
6969

70+
ENVTEST_VERSION ?= release-0.18
71+
7072
ifndef ignore-not-found
7173
ignore-not-found = false
7274
endif
@@ -498,7 +500,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
498500
.PHONY: envtest
499501
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
500502
$(ENVTEST): $(LOCALBIN)
501-
@test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
503+
@test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$(ENVTEST_VERSION)
502504

503505
CRDOC = $(shell pwd)/bin/crdoc
504506
.PHONY: crdoc

0 commit comments

Comments
 (0)