diff --git a/Makefile b/Makefile index 589f9b71..533b5bca 100644 --- a/Makefile +++ b/Makefile @@ -382,7 +382,7 @@ run-with-webhook: manifests generate fmt vet ## Run a controller from your host. CRD_SCHEMA_CHECKER_VERSION ?= release-4.16 PHONY: crd-schema-check -BRANCH=main +BRANCH ?= main crd-schema-check: manifests INSTALL_DIR=$(LOCALBIN) CRD_SCHEMA_CHECKER_VERSION=$(CRD_SCHEMA_CHECKER_VERSION) hack/build-crd-schema-checker.sh INSTALL_DIR=$(LOCALBIN) BASE_REF="$${PULL_BASE_SHA:-$(BRANCH)}" hack/crd-schema-checker.sh