vmware-archive / gangway

An application that can be used to easily enable authentication flows via OIDC for a kubernetes cluster.
Apache License 2.0
409 stars 111 forks source link

User and context name are not uniquie any more. #124

Closed rendhalver closed 5 years ago

rendhalver commented 5 years ago

We use Gangway for two clusters and we recently upgraded to v3.0.0. We use the commands to create a users contexts so they are created in a single file. After the upgrade the contexts it creates are being overwritten when the second one is created because the same email address is used for authentication for each cluster.

I fixed this issue in #75 and #79. At some point the file I patched stopped being used and the changes were not merged into the commandline template.

As you can see Email is used for the name of the user. https://github.com/heptiolabs/gangway/blob/master/templates/commandline.tmpl#L60

rendhalver commented 5 years ago

I see this changed in #87 Closing this