-
Notifications
You must be signed in to change notification settings - Fork 55
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
Warning about multiples kubeconfig with the same user #737
Conversation
Recently we have a customer trying to use multiples kubeconfig file with the same user. This cause issue because after one of the machines with the files refresh the OIDC token, the rest cannot refresh the token anymore. This commit adds a warning about this situation. Issue SUSE#735 Signed-off-by: José Guilherme Vanz <jguilhermevanz@suse.com>
Great! Many thanks for the PR!
|
It is done automatically. It is transparent for the user. There is no notification.
Use multiple users is a possible solution. But I'm not sure if it is the best one and I'm not aware of other options. |
Adds a little doc about a simple workaround to the problem regarding to the use of the same user in multiple kubeconfig files. The user can have multiple user, each one in use in one kubeconfig Signed-off-by: José Guilherme Vanz <jguilhermevanz@suse.com>
@innobead could we please get some input from you for this solution? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the contribution
@jvanz and @innobead Thanks, this looks pretty good and almost ready to merge. I just have one more question. (Sorry if this is getting slightly annoying, I just want to make sure the user gets all the needed info. :)) |
I believe so. @innobead suggested that for the customer. Furthermore, our support should help on that process. How do they make sure that the kubeconfig file is added under that user? To download the file the users need to access the gangway web page or use the cli to download the file. Thus, they need to insert the user credentials. But they can check the user in the kubeconfig file as well:
|
Awesome, thanks. This is now ready to be merged. @r0ckarong Is there a reason not to merge it and publish this in 4.1.2? |
If this is not tied to any particular version of dex or gangway I don't see why not. @jordimassaguerpla Do you have any objections to merging this? |
no objection. |
Recently we have a customer trying to use multiples kubeconfig file with
the same user. This cause issue because after one of the machines with
the files refresh the OIDC token, the rest cannot refresh the token
anymore. This commit adds a warning about this situation.
Issue #735