Skip to content

Commit

Permalink
[makefile] Fix webhook manifest and role generation (kubernetes#1419)
Browse files Browse the repository at this point in the history
Add back the capability to generate weebhoks manifest
and managers cluster role.
  • Loading branch information
trasc authored Dec 7, 2023
1 parent 006d825 commit 6d428f3
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 @@ -106,10 +106,12 @@ help: ## Display this help.
.PHONY: manifests
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
$(CONTROLLER_GEN) \
rbac:roleName=manager-role output:rbac:artifacts:config=config/components/rbac\
crd:generateEmbeddedObjectMeta=true output:crd:artifacts:config=config/components/crd/bases\
webhook output:webhook:artifacts:config=config/components/webhook\
paths="./apis/..."
$(CONTROLLER_GEN) \
rbac:roleName=manager-role output:rbac:artifacts:config=config/components/rbac\
webhook output:webhook:artifacts:config=config/components/webhook\
paths="./pkg/controller/...;./pkg/webhooks/...;./pkg/util/cert/..."

.PHONY: update-helm
update-helm: manifests yq
Expand Down

0 comments on commit 6d428f3

Please sign in to comment.