-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.krew.yaml
68 lines (68 loc) · 2.75 KB
/
.krew.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
57
58
59
60
61
62
63
64
65
66
67
68
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: mc
spec:
version: {{ .TagName }}
homepage: https://github.com/jonnylangefeld/kubectl-mc
shortDescription: Run kubectl commands against multiple clusters at once
description: |+2
This plugin helps to work with multiple kubernetes clusters at once, filtered by
a regular expression. For instance to get the status of a deployment across all
`staging` clusters run the following command:
kubectl mc -r staging -- get deployments -n kube-system
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/jonnylangefeld/kubectl-mc/releases/download/{{ .TagName }}/kubectl-mc_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
bin: kubectl-mc
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/jonnylangefeld/kubectl-mc/releases/download/{{ .TagName }}/kubectl-mc_{{ .TagName }}_darwin_arm64.tar.gz" .TagName }}
bin: kubectl-mc
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/jonnylangefeld/kubectl-mc/releases/download/{{ .TagName }}/kubectl-mc_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
bin: kubectl-mc
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/jonnylangefeld/kubectl-mc/releases/download/{{ .TagName }}/kubectl-mc_{{ .TagName }}_linux_arm64.tar.gz" .TagName }}
bin: kubectl-mc
- selector:
matchLabels:
os: linux
arch: arm
{{addURIAndSha "https://github.com/jonnylangefeld/kubectl-mc/releases/download/{{ .TagName }}/kubectl-mc_{{ .TagName }}_linux_armv7.tar.gz" .TagName }}
bin: kubectl-mc
- selector:
matchLabels:
os: linux
arch: "386"
{{addURIAndSha "https://github.com/jonnylangefeld/kubectl-mc/releases/download/{{ .TagName }}/kubectl-mc_{{ .TagName }}_linux_386.tar.gz" .TagName }}
bin: kubectl-mc
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/jonnylangefeld/kubectl-mc/releases/download/{{ .TagName }}/kubectl-mc_{{ .TagName }}_windows_amd64.tar.gz" .TagName }}
bin: kubectl-mc.exe
- selector:
matchLabels:
os: windows
arch: arm64
{{addURIAndSha "https://github.com/jonnylangefeld/kubectl-mc/releases/download/{{ .TagName }}/kubectl-mc_{{ .TagName }}_windows_arm64.tar.gz" .TagName }}
bin: kubectl-mc.exe
- selector:
matchLabels:
os: windows
arch: "386"
{{addURIAndSha "https://github.com/jonnylangefeld/kubectl-mc/releases/download/{{ .TagName }}/kubectl-mc_{{ .TagName }}_windows_386.tar.gz" .TagName }}
bin: kubectl-mc.exe