kubebuilder icon indicating copy to clipboard operation
kubebuilder copied to clipboard

:sparkles: (kustomize/v2): Add CRD viewer and editor roles in rbac/kustomization.yaml

Open lunarwhite opened this issue 1 year ago • 5 comments
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

lunarwhite avatar Mar 01 '24 13:03 lunarwhite