v0.3.0
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