Skip to content

Commit f2208a3

Browse files
add kb assets to envtest
Signed-off-by: varshaprasad96 <[email protected]>
1 parent 657fa2f commit f2208a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export IMAGE_VERSION = v1.9.0
99
export SIMPLE_VERSION = $(shell (test "$(shell git describe)" = "$(shell git describe --abbrev=0)" && echo $(shell git describe)) || echo $(shell git describe --abbrev=0)+git)
1010
export GIT_VERSION = $(shell git describe --dirty --tags --always)
1111
export GIT_COMMIT = $(shell git rev-parse HEAD)
12-
export K8S_VERSION = 1.20.2
12+
export K8S_VERSION = 1.21.2
1313

1414
# Build settings
1515
export TOOLS_DIR = tools/bin
@@ -152,7 +152,7 @@ test-e2e-setup: build envtest
152152
# install envtest binary
153153
envtest:
154154
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
155-
$(shell go env GOPATH)/bin/setup-envtest use -p path $(K8S_VERSION)
155+
$(shell go env GOPATH)/bin/setup-envtest use $(K8S_VERSION) --bin-dir tools/bin/
156156

157157
.PHONY: test-e2e-teardown
158158
test-e2e-teardown:

0 commit comments

Comments
 (0)