File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ e2e_targets := test-e2e $(e2e_tests)
144
144
145
145
.PHONY : test-e2e-setup
146
146
export KIND_CLUSTER := operator-sdk-e2e
147
+ export KUBEBUILDER_ASSETS =$(shell $(shell go env GOPATH) /bin/setup-envtest use $(K8S_VERSION ) --bin-dir tools/bin/ -p path)
147
148
test-e2e-setup : build envtest
148
149
$(SCRIPTS_DIR ) /fetch kind 0.11.0
149
150
$(SCRIPTS_DIR ) /fetch kubectl $(K8S_VERSION ) # Install kubectl AFTER envtest because envtest includes its own kubectl binary
@@ -152,7 +153,6 @@ test-e2e-setup: build envtest
152
153
# install envtest binary
153
154
envtest :
154
155
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
155
- $(shell go env GOPATH) /bin/setup-envtest use $(K8S_VERSION ) --bin-dir tools/bin/ -p env
156
156
157
157
.PHONY : test-e2e-teardown
158
158
test-e2e-teardown :
You can’t perform that action at this time.
0 commit comments