Skip to content

Commit

Permalink
add envtest install to ensure-tools target
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofgyuracz committed Jul 6, 2023
1 parent f6e9f08 commit 73e4ab2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ run: generate fmt vet manifests ## Run against the configured Kubernetes cluste
ensure-tools:
@scripts/download-deps.sh
@scripts/install_kustomize.sh
@scripts/install_envtest.sh ${ENVTEST_K8S_VERSION}

.PHONY: install
install: ensure-tools manifests ## Install CRDs into a cluster
Expand Down Expand Up @@ -180,9 +181,4 @@ MAKEFILE_LIST=Makefile
.PHONY: help
.DEFAULT_GOAL := help
help:
@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'


# Install envtest
install-envtest:
scripts/install_envtest.sh ${ENVTEST_K8S_VERSION}
@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

0 comments on commit 73e4ab2

Please sign in to comment.