forked from kubernetes-sigs/krew-index
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkonfig.yaml
49 lines (45 loc) · 1.59 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: konfig
spec:
version: "v0.2.2"
platforms:
- uri: https://github.com/corneliusweig/konfig/releases/download/v0.2.2/bundle.tar.gz
sha256: 69ee54d2fa509417e26a393c7f13fa7b7127d5370a975acc585455af0576677f
bin: konfig-krew
files:
- from: ./konfig-krew
to: .
- from: LICENSE
to: .
selector:
matchExpressions:
- key: os
operator: In
values: ["darwin", "linux"]
- uri: https://github.com/corneliusweig/konfig/releases/download/v0.2.2/bundle.tar.gz
sha256: 69ee54d2fa509417e26a393c7f13fa7b7127d5370a975acc585455af0576677f
bin: konfig-krew.exe
files:
- from: ./konfig-krew
to: konfig-krew.exe
- from: LICENSE
to: .
selector:
matchLabels:
os: windows
shortDescription: Merge, split or import kubeconfig files
homepage: https://github.com/corneliusweig/konfig
caveats: |
Usage:
$ kubectl konfig import --save new-cfg
$ kubectl konfig merge kubeconfig1 kubeconfig2 > merged
$ kubectl konfig export ctx1 ctx2 -k k8s.yaml,k3s.yaml > extracted
Documentation:
$ kubectl konfig help
or https://github.com/corneliusweig/konfig/blob/v0.2.2/doc/USAGE.md#usage
description: |+2
konfig helps to merge, split or import kubeconfig files
This is a convenience wrapper around the `kubectl config view` command.
More on https://github.com/corneliusweig/konfig/blob/v0.2.2/doc/USAGE.md#usage