mintel / dex-k8s-authenticator

A Kubernetes Dex Client Authenticator
MIT License
371 stars 146 forks source link

add support for customizable username field #181

Open torgiren opened 2 years ago

torgiren commented 2 years ago

Problem to solve: I have an ldap backend. dex returns an user with:

{
...
name: user1
email: some-email@some-domain
...
}

dex-k8s-authenticator creates a kubeconfig contains: some-email-<cluster-name> and I would like to have: user1-<cluster-name>

Signed-off-by: Marcin Fabrykowski git@fabrykowski.pl

torgiren commented 2 years ago

any chance to review this? It looks like all PRs failes e2e tests :(