Sign inSign up

whereisaaron/dex-k8s-authenticator

By whereisaaron

•Updated over 8 years ago

Kubernetes login helper application for the Dex Federated OpenID Connect provider (OIDC)

Image
0

1.1K

whereisaaron/dex-k8s-authenticator repository overview

⁠Dex K8s Authenticator

A helper web-app which talks to one or more Dex Identity services⁠ to generate kubectl commands for creating and modifying a kubeconfig.

  • The Web UI supports generating tokens against multiple clusters
    • Dev / Staging / Production etc
  • Generates appropriate kubectl config commands (user/cluster/context)
  • SSL Support

⁠Screen shots

Index Page

Kubeconfig Page

⁠Building a binary

make 

Creates ./bin/dex-k8s-authenticator

⁠Building a container

make container

⁠Running

⁠Start Dex Server instance

Follow the example here: https://github.com/coreos/dex/blob/master/Documentation/getting-started.md⁠

Start it with using the provided ./examples/dex-server-config-dev.yaml

⁠Start Dex K8s Authenticator
./bin/dex-k8s-authenticator --config ./examples/config.yaml

⁠Deploying using Helm

This project provides helm charts⁠ for deploying both dex and dex-k8s-authenticator to your Kubernetes cluster. Instructions are provided for each chart.

⁠Multiple Clusters

You can run multiple Dex Server instances with different backends if required.

Just update the examples/config.yaml to add an extra cluster to the list with the required settings.

⁠SSL

You can update the Dockerfile and add any required root-certs to /usr/local/share/ca-certificates/, then run update-ca-certificates

⁠Alternatives

A similar web UI that generates kubectl configurations without using dex to authenticate first

OIDC helpers that run locally to setup kubectl:

A Kubernetes JWT webhook helper with a similar UX to Kuberos

Tag summary

Content type

Image

Digest

Size

50.4 MB

Last updated

over 8 years ago

docker pull whereisaaron/dex-k8s-authenticator