-
Notifications
You must be signed in to change notification settings - Fork 20
/
.konfig.yaml
33 lines (29 loc) · 1.06 KB
/
.konfig.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: konfig
spec:
version: "{{ .TagName }}"
platforms:
- {{addURIAndSha "https://github.com/corneliusweig/konfig/releases/download/{{ .TagName }}/bundle.tar.gz" .TagName | indent 6 }}
bin: konfig-krew
files:
- from: ./konfig-krew
to: .
- from: LICENSE
to: .
selector:
matchExpressions:
- key: os
operator: In
values: ["darwin", "linux"]
shortDescription: Merge, split or import kubeconfig files
homepage: https://github.com/corneliusweig/konfig
description: |+2
konfig helps to merge, split or import kubeconfig files
This is a convenience wrapper around the `kubectl config view` command.
Usage:
$ kubectl konfig import --save new-cfg
$ kubectl konfig merge kubeconfig1 kubeconfig2 > merged
$ kubectl konfig export ctx1 ctx2 -k k8s.yaml,k3s.yaml > extracted
More on https://github.com/corneliusweig/konfig/blob/master/doc/USAGE.md#konfig