Sign inSign up

commercialtribe/kube-auth-github

By commercialtribe

Updated almost 10 years ago

kube auth

Image
0

526

commercialtribe/kube-auth-github repository overview

github-kube-auth

Authenticate users to Kubernetes based on Github team membership.

Usage

You can run the auth server in Docker by using the following command:

docker run --publish 8989:8989 --env GITHUB_ORG=CommercialTribe --env GITHUB_TEAM=Engineering CommercialTribe/github-kube-auth
Configuration

The following environment variables are supported for configuration:

ENV VarDescriptionDefault
GITHUB_ORGThe GitHub organization of the team you wish to authenticate users against.
GITHUB_TEAMThe GitHub team that you wish to authenticate users against.
PORTThe port to start the HTTP server on.8989
End User

The user should create a personal access token with the org:read and user:email scopes. The user should then use the following command to setup kubectl.

kubectl config set-credentials [github-username] --token=[access-token]

Contributing

See CONTRIBUTING for details.

Tag summary

Content type

Image

Digest

Size

246.8 MB

Last updated

almost 10 years ago

docker pull commercialtribe/kube-auth-github