-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.krew-release-bot.yaml
56 lines (54 loc) · 2.28 KB
/
.krew-release-bot.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
50
51
52
53
54
55
56
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: config-registry
spec:
homepage: https://github.com/mumoshu/config-registry
shortDescription: Switch between registered kubeconfigs
version: {{ .TagName }}
description: |
Switch between kubeconfigs stored in your local filesystem.
Similar to "ctx" and "ns", but for switching the whole kubeconfig.
The recommended workflow is as follows:
- Run `init` to set up the registry at `~/.kube/registry`.
The registry is where all the registered kubeconfigs will be stored.
On `init`, the default kubeconfig is imported as `default`.
- Register more kubeconfigs with `import`. `import PATH NAME` registers the
kubeconfig at PATH as NAME
- Run `ls` to list all the registered configs
- Run `use NAME` to switch to the kubeconfig by name
caveats: |
If fzf is installed on your machine, you can interactively choose
between the entries using the arrow keys, or by fuzzy searching
as you type.
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/mumoshu/config-registry/releases/download/{{ .TagName }}/config-registry_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
bin: config-registry
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/mumoshu/config-registry/releases/download/{{ .TagName }}/config-registry_{{ .TagName }}_darwin_arm64.tar.gz" .TagName }}
bin: config-registry
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/mumoshu/config-registry/releases/download/{{ .TagName }}/config-registry_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
bin: config-registry
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/mumoshu/config-registry/releases/download/{{ .TagName }}/config-registry_{{ .TagName }}_linux_arm64.tar.gz" .TagName }}
bin: config-registry
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/mumoshu/config-registry/releases/download/{{ .TagName }}/config-registry_{{ .TagName }}_windows_amd64.zip" .TagName }}
bin: config-registry.exe