File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3030all : manager
3131
3232# Run tests
33+ ENVTEST_VERSION ?= release-0.17
3334ENVTEST_ASSETS_DIR = $(shell pwd) /testbin
3435ENVTEST_K8S_VERSION ?= 1.24.1
3536GOOS =$(shell go env GOOS)
@@ -44,13 +45,13 @@ test-setup:
4445 curl -L -O " https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-$( ENVTEST_K8S_VERSION) -$( GOOS) -$( GOARCH) .tar.gz"
4546 tar -zxvf kubebuilder-tools-$(ENVTEST_K8S_VERSION ) -$(GOOS ) -$(GOARCH ) .tar.gz
4647 mv kubebuilder $(KUBEBUILDER_ASSETS_ROOT )
47- export KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS ) ; go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
48+ export KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS ) ; go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$( ENVTEST_VERSION )
4849
4950test-setup-ci :
5051 curl -L -O " https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-$( ENVTEST_K8S_VERSION) -$( GOOS) -$( GOARCH) .tar.gz"
5152 tar -xvf kubebuilder-tools-$(ENVTEST_K8S_VERSION ) -$(GOOS ) -$(GOARCH ) .tar.gz
5253 mv kubebuilder $(KUBEBUILDER_ASSETS_ROOT )
53- export KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS ) ; go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
54+ export KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS ) ; go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$( ENVTEST_VERSION )
5455
5556e2e : deploy
5657 kubectl create configmap crocodile-stress-test --from-file e2e/test.js
You can’t perform that action at this time.
0 commit comments