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

Import auth plugins #3

Closed
ahmetb opened this issue Nov 16, 2019 · 6 comments
Closed

Import auth plugins #3

ahmetb opened this issue Nov 16, 2019 · 6 comments

Comments

@ahmetb
Copy link

ahmetb commented Nov 16, 2019

Can't use this plugin currently on GCP because auth for client-go auth packages is not done.

@rajatjindal
Copy link
Owner

Hi Ahmet,

I think I did that, and released a new version for that https://github.com/rajatjindal/kubectl-whoami/releases/tag/v0.0.3 (I tested using OIDC provider and assumed that GCP auth should work in a similar fashion).

If you have tried v0.0.3 already, and it still does not work, please let me know.

Thanks
Rajat Jindal

@ahmetb
Copy link
Author

ahmetb commented Nov 17, 2019

Yes having issues with v0.0.3.

@ahmetb
Copy link
Author

ahmetb commented Nov 17, 2019

I get error:

Error: could not identify auth type

@rajatjindal
Copy link
Owner

Hi Ahmet,

can you please share your auth config with me (without the secrets of-course :) ), i want to make sure i do test the config that you are using.

I've setup the google cloud account so that I can really test it with real cluster.

Thanks
Rajat Jindal

@rajatjindal
Copy link
Owner

Hi @ahmetb

I am not very well versed with how auth providers work. I looked at the kubectl code, and it seems like the PR #4 should fix it.

can you please look at it if you get chance to see if that makes sense?

Thanks
Rajat Jindal

@rajatjindal
Copy link
Owner

fixed by #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants