Skip to content

Commit 950a2e5

Browse files
committed
kubernetes-sigs/controller-runtime#3349 has updated golang to 1.25 in controller-runtime. Signed-off-by: rabi <[email protected]>
1 parent db2406f commit 950a2e5

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
@@ -58,6 +58,8 @@ IMG ?= $(DEFAULT_IMG)
5858
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
5959
ENVTEST_K8S_VERSION = 1.31
6060

61+
SETUP_ENVTEST_VERSION ?= release-0.22
62+
6163
CRDDESC_OVERRIDE ?= :maxDescLen=0
6264

6365
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
@@ -340,7 +342,7 @@ $(CRD_MARKDOWN): $(LOCALBIN)
340342
.PHONY: envtest
341343
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
342344
$(ENVTEST): $(LOCALBIN)
343-
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
345+
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$(SETUP_ENVTEST_VERSION)
344346

345347
.PHONY: ginkgo
346348
ginkgo: $(GINKGO) ## Download ginkgo locally if necessary.

0 commit comments

Comments
 (0)