Skip to content

Commit

Permalink
Prune more kubebuilder scaffolding
Browse files Browse the repository at this point in the history
The RBAC resources for PolicyCore were already incomplete, and are not
used, so they have now been removed from the config/ folder.

The boilerplate.go.txt was looking very lonely in the hack/ folder,
which was taking up valuable space on the GitHub landing page, so it has
been moved into the config/ folder.

Signed-off-by: Justin Kulikauskas <[email protected]>
  • Loading branch information
JustinKuli committed Jun 29, 2024
1 parent 9f61ae6 commit b637ba0
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 28 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ manifests: $(CONTROLLER_GEN) $(KUSTOMIZE) ## Generate WebhookConfiguration, Clus

.PHONY: generate
generate: $(CONTROLLER_GEN) ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."
$(CONTROLLER_GEN) object:headerFile="config/boilerplate.go.txt" paths="./..."

.PHONY: fmt
fmt: $(GOFUMPT) $(GCI)
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ namePrefix: governance-policy-nucleus-

bases:
- ../crd
- ../rbac
9 changes: 0 additions & 9 deletions config/rbac/kustomization.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions config/rbac/role_binding.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions config/rbac/service_account.yaml

This file was deleted.

0 comments on commit b637ba0

Please sign in to comment.