-
Notifications
You must be signed in to change notification settings - Fork 3k
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] [CLI] Rancher CLI does not store more than 1 cluster token at a time per host #46997
Labels
kind/bug
Issues that are defects reported by users or that we know have reached a real release
Comments
idogada-akamai
added
the
kind/bug
Issues that are defects reported by users or that we know have reached a real release
label
Sep 9, 2024
Seeing the same |
same things here |
idogada-akamai
changed the title
[BUG] Rancher CLI does store more than 1 cluster token at a time per host
[BUG] Rancher CLI does not store more than 1 cluster token at a time per host
Sep 9, 2024
same here |
@enrichman |
Hi @idogada-akamai, thanks, I'll try to prioritize this. 👍 |
is there any solution yet? |
idogada-akamai
changed the title
[BUG] Rancher CLI does not store more than 1 cluster token at a time per host
[BUG][CLI] Rancher CLI does not store more than 1 cluster token at a time per host
Sep 18, 2024
idogada-akamai
changed the title
[BUG][CLI] Rancher CLI does not store more than 1 cluster token at a time per host
[BUG] [CLI] Rancher CLI does not store more than 1 cluster token at a time per host
Sep 18, 2024
@enrichman |
I'm facing the same problem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/bug
Issues that are defects reported by users or that we know have reached a real release
Rancher Server Setup
Information about the Cluster
User Information
Describe the bug
We have multiple clusters connected to the same Rancher instance, and we've set the option
kubeconfig-generate-token=false
so now users are using the AzureAD SSO integration to get the token.Each time a user is connecting to a different cluster, the CLI overrides the existing cluster token (per host), instead of just adding it to the cli2.json file.
Here's an example of what's happening, given the following kubeconfig file
As you see each time I switch context the credentials are being overridden and no re-used.
To Reproduce
kubeconfig-generate-token=false
Result
Credentials are being overridden every time you switch context.
Expected Result
When we connect to a new cluster, the credentials should be appended and not override the existing ones.
The text was updated successfully, but these errors were encountered: