kubectxext

module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: MIT

README

kubectxext

kubectxext is a utility to extract a valid kubernetes config file from your kubernetes config for a given context.

Usage

Usage of kubectxext:
  -context string
    	context to extract.
  -kubeconfig string
    	kube config file to extract from. (default "/Users/jotadrilo/.kube/config")

Installation

There are several installation options:

  • macOS
    • Homebrew (recommended)
    • Go
  • Linux
    • Go
macOS
Homebrew

If you use Homebrew you can install like this:

brew tap jotadrilo/tap
brew install jotadrilo/tap/kubectxext
go
go get github.com/jotadrilo/kubectxext/cmd/...
Linux
go
go get github.com/jotadrilo/kubectxext/cmd/...

Development

This projects uses go mod and bazel.

bazel run //:gazelle-update-repos
bazel run //:gazelle
bazel run //cmd/kubectxext:kubectxext -- --help

Directories

Path Synopsis
cmd
internal
tui

Jump to

Keyboard shortcuts

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