vmware-archive / gangway

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

Incorrect Kubeconfig provided when multiple replicas used #108

Closed soggiest closed 5 years ago

soggiest commented 5 years ago

What we're seeing

If there are multiple replicas of Gangway running there is a chance that a use will be provided another users' kubeconfig.

What we expected to see

A user is provided the correct kubeconfig every time.

Notes

This is caused by the Gangway created kubeconfigs being written to disk with the same name every time. Ovbiously this is a major security risk

Proposed solutions

alexbrand commented 5 years ago

Closing as this should be fixed by the merge of #89