Skip to content

Commit

Permalink
Copy CRDs on make manifests from config to helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
akselleirv committed Jun 10, 2024
1 parent 56cf656 commit 0dc7274
Show file tree
Hide file tree
Showing 2 changed files with 1,168 additions and 143 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ help: ## Display this help.
.PHONY: manifests
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
$(CONTROLLER_GEN) rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config="config/crd/bases"
cp config/crd/bases/infra.contrib.fluxcd.io_terraforms.yaml charts/tofu-controller/crds/crds.yaml
cd api; $(CONTROLLER_GEN) rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config="../config/crd/bases"

.PHONY: generate
Expand Down
Loading

0 comments on commit 0dc7274

Please sign in to comment.