/kubeconfig

Primary LanguageGoOtherNOASSERTION

Intro

This is a CLI tool to add new config files to your main kubeconfig file at ~/.kube/config.

Usage

kubeconfig add -f ./newconfig -c mycluster 

This command adds the kubeconfig in ./newconfig path to ~/.kube/config. Right now it supports only one cluster in the newconfig. The resulting cluster and context name in ~/.kube/config will be mycluster and the user will be mycluster-admin.

Installation

Download it from the release page of this repo. After downloading, move the binary to a directory in your PATH.