Kubernetes Authenticator - DEPRECATED
I recommend the use of kubelogin.
Provides out of band OpenID Connect support. This project has only be tested with Dex
Install
Download the binary from the release page
Usage
- k8s-auth NAME - Authenticates to the provider and writes out the kubernetes config
Configuration
Create a file $HOME/.k8s-auth.yaml
Example for dex deployed at dex.dev.example.com
with kops as the server located at api.internal.dev.example.com
dev:
issuer: https://dex.dev.example.com
server: https://api.internal.dev.example.com
insecureSkipTLSVerify: true
Multiple configurations can be stored in a single file.
Credits
The work for this originally started from https://github.com/coreos/dex/tree/master/cmd/example-app