-
Notifications
You must be signed in to change notification settings - Fork 87
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
Allow user impersonation as a cli flag #547
Comments
I hope there is a library we can use to be compatible with kubectl w.r.t. translation of the command line flag value to the actual headers that the client needs to send? Otherwise (if we do the translation by hand) it would be a shame to become subtly incompatible over time. |
I agree we should be able to use k8s.io/cli-runtime/pkg/genericclioptions to add a set of generic |
Sounds good! It would be awesome if you could contribute this feature! |
@porridge I believe we can also now close this one out. |
Done in #549 |
What would you like to be added: The ability to pass an impersonation flag to
kuttl
to allow for the impersonation of usersWhy is this needed: There are situations where you may only have access to a single user that is able to impersonate other users that have privileged access. This would allow for the
--as
flag to be passed tokuttl
to enable user impersonation. For examplekubectl kuttl test ... --as <user>
Happy to pick this up if accepted ✋
The text was updated successfully, but these errors were encountered: