-
Notifications
You must be signed in to change notification settings - Fork 492
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
Kubernetes config not updated when token refreshed #399
Comments
Unfortunately, the Javascript client library doesn't currently support automatically rewriting the config when it refreshes a token. There is a utility here: to call To do it right requires a large-ish refactor of the authenticator interface to include refresh() |
I'll look into crafting a PR (or probably multiple PRs) to handle this. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I'm using OIDC authentication and running in the the following issue:
After debugging it looks like token is being refreshed correctly the first time, but Kubernetes configuration is not being automatically updated and next time I start application I load old configuration and try to refresh my token using invalid refresh token.
I'm loading configuration from
~/.kube/config
and I was expecting it to be updated automatically. I'm not sure is this is how it's supposed to work and if so do you have any pointers on how to update that configuration properly?The text was updated successfully, but these errors were encountered: