kubecfg

module
v1.0.0-beta.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: MIT

README

kubecfg

Go

kubecfg is a command line tool that uses fzf to find and switch kubectl configuration files (known as kubeconfigs).

How it works

kubecfg will recursively find kubeconfigs in desired folder and list them in an interactive terminal. kubecfg uses symlinks to the standard kubectl kubeconfig location. Switching kubeconfigs will simply update the link to ~/.kube/config.

Usage

Usage:
  kubecfg [PATH] <flags>

kubecfg Kubernetes kubconfig manager

List, search and switch between multiple kubeconfig files within a directory

  -d, --dir string     The symlink kubeconfig (default "~/.kube/config")
  -g, --glob strings   List files matching a pattern to include. This flag can be used multiple times. (default [~/.kube/*.yaml])
      --version        Print version

Directories

Path Synopsis
pkg
cfg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL