@kubernetes/sig-cli-feature-requests 😃
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
/assign
Since that no one is interested to give it a try for now...
I'll raise a PR for this possibly
Closed #65798.
duplicate of unresolved issue?
FWIW there's a kubectl plugin on Krew that does exactly this:
$ kubectl krew install whoami
$ kubectl whoami
f...@gmail.com
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
FWIW there's a kubectl plugin on Krew that does exactly this:
$ kubectl krew install whoami $ kubectl whoami f...@gmail.com
Note that this particular Krew plugin does not work on a Windows machine. It gives the following error:
failed to install plugin "whoami": plugin "whoami" does not offer installation for this platform
FWIW there's a kubectl plugin on Krew that does exactly this:
$ kubectl krew install whoami $ kubectl whoami f...@gmail.com
this plugin now has --all
flag to show groups info as well
$ k whoami --all
User: someUser
Groups:
system:masters
system:authenticated
ARN:
arn:aws:sts::123456789:assumed-role/someIAMrole/someUser
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are on a team that was mentioned.
Note that this particular Krew plugin does not work on a Windows machine. It gives the following error:
failed to install plugin "whoami": plugin "whoami" does not offer installation for this platform
You can install it manually if you have go installed:
go install github.com/rajatjindal/kubectl-whoami@latest cp $GOPATH/bin/kubectl-whoami.exe ~/.krew/bin/
Still, would be nice if Windows installation was made more easily available :) @rajatjindal
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are on a team that was mentioned.