Skip to content

Commit

Permalink
fix envtest version when latest need golang 1.23
Browse files Browse the repository at this point in the history
use 0.18.5 tag
  • Loading branch information
huanghuangzym committed Oct 19, 2024
1 parent 5a11b48 commit 62cb8aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ OPERATOR_SDK_VERSION ?= 1.29.0

CERTMANAGER_VERSION ?= 1.10.0

ENVTEST_VERSION ?= v0.18.5

ifndef ignore-not-found
ignore-not-found = false
endif
Expand Down Expand Up @@ -498,7 +500,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
.PHONY: envtest
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
$(ENVTEST): $(LOCALBIN)
@test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
@test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$(ENVTEST_VERSION)

CRDOC = $(shell pwd)/bin/crdoc
.PHONY: crdoc
Expand Down

0 comments on commit 62cb8aa

Please sign in to comment.