Skip to content

Commit b3c51bb

Browse files
committed
modified version of envtest in Makefile
Signed-off-by: Mohamed Belgaied Hassine <[email protected]>
1 parent c6b5d13 commit b3c51bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest
291291
## Tool Versions
292292
KUSTOMIZE_VERSION ?= v3.8.7
293293
CONTROLLER_TOOLS_VERSION ?= v0.9.2
294+
ENVTEST_VERSION ?= v0.0.0-20240531134648-6636df17d67b
294295

295296
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
296297
.PHONY: kustomize
@@ -306,7 +307,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
306307
.PHONY: envtest
307308
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
308309
$(ENVTEST): $(LOCALBIN)
309-
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
310+
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$(ENVTEST_VERSION)
310311

311312
## --------------------------------------
312313
## Cleanup / Verification

0 commit comments

Comments
 (0)