You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When merging two contexts which reference the same user name (though different users) the resulting kubecfg drops one of those users and the corresponding context can not authenticate.
Suggestion: Detect duplicate user names (i.e. same name but different data) and rename them on import (e.g. to $context-$user).
The text was updated successfully, but these errors were encountered:
That's an interesting issue. As you know, this script is based on the canonical kubectl config view command. I'm surprised that this does not catch this corner case.
Can you open a bug in the kubernetes repo about this? I think kubectl should catch this.
When merging two contexts which reference the same user name (though different users) the resulting kubecfg drops one of those users and the corresponding context can not authenticate.
Suggestion: Detect duplicate user names (i.e. same name but different data) and rename them on import (e.g. to
$context-$user
).The text was updated successfully, but these errors were encountered: