kubebuilder
kubebuilder copied to clipboard
:sparkles: (kustomize/v2): Add CRD viewer and editor roles in rbac/kustomization.yaml
trafficstars
Description
Fixes https://github.com/kubernetes-sigs/kubebuilder/issues/3782
Add the logic to insert generated roles into kustomization file when executing kubebuilder create api.
Cleanup
- Remove e2e steps for "applying the CRD Editor/Viewer Role".
- Remove outdated content in https://book.kubebuilder.io/getting-started#rbac-generate-under-configrbac.
- Generate docs and testdata; pass test-unit and test-e2e-local