Add subresources to generate
What would you like to be added:
Add the option to add subcommands like pods/exec into generated RBAC files
Why is this needed:
Sometimes you want to give people more granular permissions on certain things and having a complete list on all avaiable subcommands in your rbac so you can easily do so would be nice
@MaxRink thanks for adding this feature request.
Could you maybe give couple of examples of how you'd want to see that CLI to look like?
fyi @MaxRink - v1.10 adds the show command which basically includes sub-resources and the relevant verbs in a generated role.
This is of course kubernetes version (and cluster) specific.
@gadinaor that looks pretty much like what i was looking for :)