Comments (5)
I just tried with onelogin OIDC provider + EKS, and it seems to have worked. and showing me all groups that I am part of.
could you please try once more.
from kubectl-whoami.
I found a solution for a related issue,
in order for kubectl-whoami to show the ARN information for a user,
it is required that the k8s role assigned to the user\group would have this rule:
- apiGroups: [ "authentication.k8s.io" ]
resources: [ "tokenreviews" ]
verbs: [ "create" ]
Without this rule within a ClusterRole assigned to that user,
extracting ARN is not possible..
Sorry if this isn't relevant, but I did see that both printing Groups and ARNs are within the same if condition
.
Anyways, @rajatjindal you might want to add that information in the README.md, maybe troubleshooting section?
from kubectl-whoami.
Hi @posquit0
thanks for reporting the issue.
is it possible for you to please submit a PR for this? I don't have access to EKS cluster setup.
Thanks
Rajat Jindal
from kubectl-whoami.
Hi, thank you for following this issue. I'm so glad to hear that.
I tried with v0.0.44
, but it just same outputs.
What is your configuration for users[].user.exec.command
and users[].user.exec.args
in .kube/config
I used kubectl
command and oidc-login
args.
from kubectl-whoami.
i am using a custom login plugin instead of oidc-login, but i don't think that matters. We make use of k8s api calls to fetch whoami info.
could you please add some logging on your laptop and help submit a PR for this?
from kubectl-whoami.
Related Issues (10)
- Please release darwin arm64 version(m1 Mac)
- print group information as well HOT 1
- Windows asset
- [krew] Distribute with license HOT 2
- Import auth plugins HOT 6
- fix ModifySecret references HOT 2
- command produces no result. HOT 6
- --version is "unknown" HOT 1
- Detailed user information missing for cert auth
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubectl-whoami.