constellation/hack/tools
Markus Rudy 1a8a733fb9 operator: generate deepcopy, rbac and crds
This commit adds the controller-gen tool as a Bazel dep and adds the
equivalent of `make manifests` to //:generate.

Rename CRDs in the operator Helm chart to match kubebuilder v4 generated
names and add a generation directive to output CRD resources directly
into the Helm chart. CRDs are not templated, so we don't need to helmify
them.

Split the manager-rbac.yaml into a role.yaml and a rolebinding.yaml, and
add a directive to generate role.yaml from operator sources. We're
losing the labels on the role, but that is only a cosmetic defect.
2024-01-22 14:45:50 +01:00
..
BUILD.bazel bazel: add stringer 2023-03-29 12:51:40 -04:00
go.mod operator: generate deepcopy, rbac and crds 2024-01-22 14:45:50 +01:00
go.sum operator: generate deepcopy, rbac and crds 2024-01-22 14:45:50 +01:00
tools.go operator: generate deepcopy, rbac and crds 2024-01-22 14:45:50 +01:00