Skip to content

Commit

Permalink
Merge pull request #1928 from shiftstack/crdgen
Browse files Browse the repository at this point in the history
Fix CRD generation
  • Loading branch information
k8s-ci-robot authored Mar 6, 2024
2 parents d76b07d + 30ba121 commit 9fb6072
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,11 @@ generate-conversion-gen: $(CONVERSION_GEN)
.PHONY: generate-manifests
generate-manifests: $(CONTROLLER_GEN) ## Generate manifests e.g. CRD, RBAC etc.
$(CONTROLLER_GEN) \
paths=./pkg/webhooks/... \
paths=./api/... \
crd:crdVersions=v1 \
output:crd:dir=$(CRD_ROOT) \
output:crd:dir=$(CRD_ROOT)
$(CONTROLLER_GEN) \
paths=./pkg/webhooks/... \
output:webhook:dir=$(WEBHOOK_ROOT) \
webhook
$(CONTROLLER_GEN) \
Expand Down

0 comments on commit 9fb6072

Please sign in to comment.