Skip to content

v0.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Mar 05:58
· 90 commits to master since this release

Changes

  • initial release of rbac-tool gen

rbac-tool gen

Generate Role or ClusterRole resource while reducing the use of wildcards.

rbac-tool read from the Kubernetes discovery API the available API Groups and resources,
and based on the command line options, generate an explicit Role/ClusterRole that avoid wildcards

Example:

rbac-tool  gen --generated-type=Role --deny-resources=secrets.,daemonsets.apps --allowed-verbs=get,list --allowed-groups=,apps,networking.k8s.io