Skip to content
This repository has been archived by the owner on Apr 5, 2020. It is now read-only.

sstarcher/k8s-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes Authenticator - DEPRECATED

I recommend the use of kubelogin.

CircleCI GitHub release

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