GithubHelp home page GithubHelp logo

pgmodusbox / kubectl-config-merge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kairen/kubectl-config-merge

0.0 0.0 0.0 5.28 MB

A kubectl plugin for merging multiple kubeconfig files. A cli-runtime example.

License: Apache License 2.0

Makefile 8.58% Go 91.42%

kubectl-config-merge's Introduction

Build Status

kubectl-config-merge

This repository implements a kubectl plugin for merging multiple kubeconfig files.

Screenshot

Usage

$ kubectl config-merge -h
Merge two or more kubeconfig files

Usage:
  config-merge [kubeconfig] [flags]

Examples:

	# Merge your kubeconfig and save it as "merge-config" in the current directory
	kubectl config-merge kubeconfig1 kubeconfig2 ...

	# Merge your kubeconfig and save it as "config" in "test" directory
	kubectl config-merge kubeconfig1 kubeconfig2 ... --path test/config

	# Merge your kubeconfig with $HOME/.kube/config as "$HOME/.kube/config"
	kubectl config-merge kubeconfig1 ... --home

	# To view merged kubeconfig result
	kubectl config-merge kubeconfig1 kubeconfig2 ... --view


Flags:
      --backup          If true, backup $HOME/.kube/config file to $HOME/.kube/config.bk (default true)
  -h, --help            help for config-merge
      --home            If true, merge with $HOME/.kube/config to $HOME/.kube/config
  -o, --output string   Merged kubeconfig output type(json or yaml) (default "yaml")
      --overwrite       If true, force merge kubeconfig
      --path string     Merged kubeconfig output name and path (default "merge-config")
      --version         Show config-merge version
      --view            View merged kubeconfig result

kubectl-config-merge's People

Contributors

kairen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.