lensapp / lens

Lens - The way the world runs Kubernetes
https://k8slens.dev/
MIT License
22.45k stars 1.45k forks source link

Support impersonation similar to kubectl --as="user" --as-group="group" #2535

Open guilhemrambal opened 3 years ago

guilhemrambal commented 3 years ago

What would you like to be added: Support impersonation similar to kubectl --as="user" --as-group="group" https://kubernetes.io/docs/reference/access-authn-authz/authentication/#user-impersonation

Why is this needed:

Like krew plugin kubectl-sudo you can gain "sudo privilege ie -as-group=system:masters " to do admin task according rbac. https://github.com/postfinance/kubectl-sudo

Environment you are Lens application on:

jim-docker commented 3 years ago

Thanks, this is a good idea, we are considering how to implement it.

guilhemrambal commented 2 years ago

Could you please give me a feed back or close issue. Thanx