Skip to content

bvankampen/kubeconfig-selector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Kubernetes Kubeconfig Cluster Selector

Screenshot

Requirements:

  • go 1.22

Usage:

NAME:
   cluster - Select kubeconfig

USAGE:
   ks [global options] command [command options] [arguments...]

VERSION:
   1.2 (bf8ed0e)

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --debug        Enable debug
   --help, -h     show help
   --version, -v  print the version

Build:

make

Install:

make install

Config:

~/.config/ks.conf

kubeconfigDir: ~/.kube
kubeconfigFile: config
extraKubeconfigDirs:
    - ~/Downloads
showKubeconfig: true
createLink: true