Skip to content

Commit

Permalink
undo makefile changes and remove crd.yaml; to be done in separate PR
Browse files Browse the repository at this point in the history
  • Loading branch information
danielvegamyhre committed Mar 28, 2024
1 parent a92cd68 commit 9881cee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7,764 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ help: ## Display this help.
##@ Development

.PHONY: manifests
manifests: controller-gen crd ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
$(CONTROLLER_GEN) \
rbac:roleName=manager-role output:rbac:artifacts:config=config/components/rbac\
paths="./api/..."
Expand All @@ -88,10 +88,6 @@ manifests: controller-gen crd ## Generate WebhookConfiguration, ClusterRole and
webhook output:webhook:artifacts:config=config/components/webhook\
paths="./pkg/..."

.PHONY: crd
crd: kustomize # Write CRD to independent file used for validation.
$(KUSTOMIZE) build config/components/crd -o pkg/webhooks/crds/crd.yaml

.PHONY: generate
generate: controller-gen code-generator openapi-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations and client-go libraries.
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./api/..."
Expand Down
Loading

0 comments on commit 9881cee

Please sign in to comment.