Merge pull request 'Bundle CRDs into a single install manifest' (#2) from benvin/crd-install-bundle into main
ci/woodpecker/tag/docker Pipeline was successful

Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
2026-07-03 19:36:31 +10:00
2 changed files with 2743 additions and 1 deletions
+7 -1
View File
@@ -15,11 +15,17 @@ lint:
fmt:
gofmt -w .
## generate: regenerate deepcopy, CRDs and RBAC from kubebuilder markers
CRD_BUNDLE := config/crd/install.yaml
## generate: regenerate deepcopy, CRDs and RBAC from kubebuilder markers, then
## bundle every CRD into a single applyable manifest ($(CRD_BUNDLE)) so it can
## be referenced by a stable raw URL.
generate:
controller-gen object paths="./api/..."
controller-gen crd paths="./api/..." output:crd:artifacts:config=config/crd/bases
controller-gen rbac:roleName=bind-operator paths="./internal/controller/..." output:rbac:dir=config/rbac
printf '# Generated by "make generate". DO NOT EDIT.\n' > $(CRD_BUNDLE)
cat config/crd/bases/*.yaml >> $(CRD_BUNDLE)
manifests: generate
File diff suppressed because it is too large Load Diff