Skip to content
Permalink
Browse files

Add new plugin "config-merge"

This is a small wrapper script around the `kubectl config view` command. It is intended as a way spread knowledge about this command with sane defaults. Users who know their way around `kubectl config view` do not need this.

Home: https://github.com/corneliusweig/konfig-merge
Initial release: https://github.com/corneliusweig/konfig-merge/releases/tag/v0.1.0

Signed-off-by: Cornelius Weig <cornelius.weig@gmail.com>
  • Loading branch information...
corneliusweig committed Mar 31, 2019
1 parent e307dbe commit 3ee73ffdf6a0854907560ef92450cc99a9585747
Showing with 51 additions and 0 deletions.
  1. +51 −0 plugins/config-merge.yaml
@@ -0,0 +1,51 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: config-merge
spec:
version: "v0.1.0"
platforms:
- uri: https://github.com/corneliusweig/konfig-merge/releases/download/v0.1.0/bundle.tar.gz
sha256: ad335a4eee7911f9747530d1ab4b40a5e30b181aefc833dfd8b276bdd2dbd1ca
bin: konfig-merge-krew
files:
- from: ./konfig-merge-krew
to: "."
selector:
matchLabels:
os: linux
- uri: https://github.com/corneliusweig/konfig-merge/releases/download/v0.1.0/bundle.tar.gz
sha256: ad335a4eee7911f9747530d1ab4b40a5e30b181aefc833dfd8b276bdd2dbd1ca
bin: konfig-merge-krew
files:
- from: ./konfig-merge-krew
to: "."
selector:
matchLabels:
os: darwin
- uri: https://github.com/corneliusweig/konfig-merge/releases/download/v0.1.0/bundle.tar.gz
sha256: ad335a4eee7911f9747530d1ab4b40a5e30b181aefc833dfd8b276bdd2dbd1ca
bin: konfig-merge-krew.exe
files:
- from: ./konfig-merge-krew
to: konfig-merge-krew.exe
selector:
matchLabels:
os: windows
shortDescription: Merge multiple kubeconfig files into one
homepage: https://github.com/corneliusweig/konfig-merge
caveats: |
Usage:
kubectl config-merge kubeconfig1 kubeconfig2 > mergedconfig
Documentation:
https://github.com/corneliusweig/konfig-merge/blob/v0.1.0/doc/USAGE.md#usage
description: |+2
Merge multiple kubeconfig files into one
This is a small wrapper script around the `kubectl config view` command. It is
intended as a way spread knowledge about this command with sane defaults.
Users who know their way around `kubectl config view` do not need this.
More on https://github.com/corneliusweig/konfig-merge/blob/v0.1.0/doc/USAGE.md#usage

0 comments on commit 3ee73ff

Please sign in to comment.
You can’t perform that action at this time.