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

Bug: Kubie doesn't refresh kubeconfig file when it's regenerated #131

Open
jonnisell opened this issue Apr 28, 2023 · 1 comment
Open

Bug: Kubie doesn't refresh kubeconfig file when it's regenerated #131

jonnisell opened this issue Apr 28, 2023 · 1 comment

Comments

@jonnisell
Copy link

Description

When regenerating a config file for a cluster and placing it in the folders allowed by my kubie.yaml the config file isn't updated when selecting context. I see an old cached config but not the new

To Reproduce

  1. Login via oidc flow -> get a new kubeconfig
  2. exit Kubie to reload all contexts
  3. run kubie ctx to list contexts and select same context with new file

Expected behavior

New contexts should be loaded into Kubie

Actual behavior

An old cached copy of the config for the context is still present

My environment is Mac os + oh-my-zsh
kubie version 0.19.3

@kunalraykar30
Copy link

I am also facing this problem. I created Kind cluster and kubie is not able to populate the new config files.
My environment is Ubuntu 22.04
kubie version - 0.19.3

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