Skip to content

Commit ad0381c

Browse files
Merge pull request #374 from dprince/setup_env_022
Use [email protected] for mariadb
2 parents 372c660 + a792105 commit ad0381c

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

59+
SETUP_ENVTEST_VERSION ?= release-0.22
60+
5961
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
6062
ifeq (,$(shell go env GOBIN))
6163
GOBIN=$(shell go env GOPATH)/bin
@@ -237,7 +239,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
237239
.PHONY: envtest
238240
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
239241
$(ENVTEST): $(LOCALBIN)
240-
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
242+
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$(SETUP_ENVTEST_VERSION)
241243

242244
.PHONY: ginkgo
243245
ginkgo: $(GINKGO) ## Download ginkgo locally if necessary.

0 commit comments

Comments
 (0)