Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add subresources to generate #48

Closed
MaxRink opened this issue Jan 24, 2022 · 3 comments
Closed

Add subresources to generate #48

MaxRink opened this issue Jan 24, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@MaxRink
Copy link
Contributor

MaxRink commented Jan 24, 2022

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

@gadinaor-r7 gadinaor-r7 added the enhancement New feature or request label Jan 27, 2022
@gadinaor-r7 gadinaor-r7 self-assigned this Jan 27, 2022
@gadinaor-r7
Copy link
Contributor

@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?

@gadinaor
Copy link
Contributor

gadinaor commented Oct 2, 2022

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.

@MaxRink
Copy link
Contributor Author

MaxRink commented Nov 15, 2022

@gadinaor that looks pretty much like what i was looking for :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants