Skip to content

A simple tool for creating a Kubernetes kubeconfig file from a service account token

License

Notifications You must be signed in to change notification settings

ldx/token2kubeconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

token2kubeconfig

Create a kubeconfig file from a Kubernetes service account token.

Build

$ go build

Usage

This is meant to be used in a pod:

$ ./token2kubeconfig > kubeconfig

It will generate a kubeconfig file (usable by e.g. kubectl) from the pod service account token.

About

A simple tool for creating a Kubernetes kubeconfig file from a service account token

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages