mirror of
https://github.com/kyverno/kyverno.git
synced 2025-01-20 18:52:16 +00:00
fix: add codegen-cli-crds target to codegen-crds-all (#8692)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
This commit is contained in:
parent
212445f2cf
commit
c05dacf76a
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -495,12 +495,12 @@ codegen-crds-report: $(CONTROLLER_GEN) ## Generate policy reports CRDs
|
||||||
@$(CONTROLLER_GEN) crd paths=./api/policyreport/... crd:crdVersions=v1 output:dir=$(CRDS_PATH)
|
@$(CONTROLLER_GEN) crd paths=./api/policyreport/... crd:crdVersions=v1 output:dir=$(CRDS_PATH)
|
||||||
|
|
||||||
.PHONY: codegen-crds-cli
|
.PHONY: codegen-crds-cli
|
||||||
codegen-crds-cli: $(CONTROLLER_GEN) ## Generate policy reports CRDs
|
codegen-crds-cli: $(CONTROLLER_GEN) ## Generate CLI CRDs
|
||||||
@echo Generate cli crds... >&2
|
@echo Generate cli crds... >&2
|
||||||
@$(CONTROLLER_GEN) crd paths=./cmd/cli/kubectl-kyverno/apis/... crd:crdVersions=v1 output:dir=${PWD}/cmd/cli/kubectl-kyverno/config/crds
|
@$(CONTROLLER_GEN) crd paths=./cmd/cli/kubectl-kyverno/apis/... crd:crdVersions=v1 output:dir=${PWD}/cmd/cli/kubectl-kyverno/config/crds
|
||||||
|
|
||||||
.PHONY: codegen-crds-all
|
.PHONY: codegen-crds-all
|
||||||
codegen-crds-all: codegen-crds-kyverno codegen-crds-report ## Generate all CRDs
|
codegen-crds-all: codegen-crds-kyverno codegen-crds-report codegen-cli-crds ## Generate all CRDs
|
||||||
|
|
||||||
.PHONY: codegen-helm-docs
|
.PHONY: codegen-helm-docs
|
||||||
codegen-helm-docs: ## Generate helm docs
|
codegen-helm-docs: ## Generate helm docs
|
||||||
|
|
Loading…
Add table
Reference in a new issue