kubeconfig-cleanup

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

README

kubeconfig-cleanup

About

Description

A kubectl plugin to clean up your kubeconfig file

Installation

Add kubeconfig-cleanup to your kubectl plugins directory. For more information about how plugins are loaded, please see the official documentation.

curl -LO https://github.com/ashleyschuett/kubeconfig-cleanup/releases/download/v1.0.1/cleanup && \
curl -LO https://raw.githubusercontent.com/ashleyschuett/kubeconfig-cleanup/v1.0.1/plugin.yaml && \
mkdir ~/.kube/plugins/kubeconfig-cleanup && mv cleanup plugin.yaml
Usage

Parse through kubeconfig in default directory

kubectl plugin kubeconfig-cleanup

Parse through kubeconfig at custom location

kubectl plugin kubeconfig-cleanup --kubeconfig /custom/kubeconfig/location

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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