diff --git a/Makefile b/Makefile index 333e419..c3d0f08 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,10 @@ $(CONTROLLER_GEN): $(LOCALBIN) go-generate: go generate ./... +.PHONY: install-envtest +install-envtest: + go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest + .PHONY: test -test: generate +test: generate install-envtest go test ./...