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

Support escalate verb for ClusterRole #94

Open
prestonvanloon opened this issue Sep 28, 2022 · 1 comment
Open

Support escalate verb for ClusterRole #94

prestonvanloon opened this issue Sep 28, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@prestonvanloon
Copy link

What would you like to be added

Support for escalate verb for ClusterRole

Why is this needed

Error: resolving resource: the "clusterroles" resource does not support the "escalate" verb, only [create delete deletecollection get list patch update watch]

@prestonvanloon prestonvanloon added the enhancement New feature or request label Sep 28, 2022
@prestonvanloon
Copy link
Author

Something interesting is if you check this with kubectl auth can-i without the -A flag, it says it is not a known verb.

kubectl auth can-i escalate clusterroles                                                                    

Warning: resource 'clusterroles' is not namespace scoped in group 'rbac.authorization.k8s.io'

Warning: verb 'escalate' is not a known verb

yes

It works with -A

kubectl auth can-i escalate clusterroles -A

yes

I tried this with kubectl-who-can as well kubectl-who-can escalate clusterrole -A still fails.

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

1 participant