-
Notifications
You must be signed in to change notification settings - Fork 2
/
.krew.yaml
103 lines (103 loc) · 3.15 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: discover
spec:
version: {{ .TagName }}
homepage: https://github.com/mateimicu/kdiscover
shortDescription: "Find/export kubeconfigs for cloud clusters"
description: |
Discover all the cluster from a provider (AWS, GCP, Azure, etc)
and export the kubeconfig credentials.
platforms:
# MacOs
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/mateimicu/kdiscover/releases/download/{{ .TagName }}/kdiscover_{{ .TagName }}_darwin_arm64.tar.gz" .TagName }}
bin: kubectl-discover
files:
- from: "kdiscover"
to: "kubectl-discover"
- from: "LICENSE"
to: "."
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/mateimicu/kdiscover/releases/download/{{ .TagName }}/kdiscover_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
bin: kubectl-discover
files:
- from: "kdiscover"
to: "kubectl-discover"
- from: "LICENSE"
to: "."
# Linux
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/mateimicu/kdiscover/releases/download/{{ .TagName }}/kdiscover_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
bin: kubectl-discover
files:
- from: "kdiscover"
to: "kubectl-discover"
- from: "LICENSE"
to: "."
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/mateimicu/kdiscover/releases/download/{{ .TagName }}/kdiscover_{{ .TagName }}_linux_arm64.tar.gz" .TagName }}
bin: kubectl-discover
files:
- from: "kdiscover"
to: "kubectl-discover"
- from: "LICENSE"
to: "."
- selector:
matchLabels:
os: linux
arch: 386
{{addURIAndSha "https://github.com/mateimicu/kdiscover/releases/download/{{ .TagName }}/kdiscover_{{ .TagName }}_linux_386.tar.gz" .TagName }}
bin: kubectl-discover
files:
- from: "kdiscover"
to: "kubectl-discover"
- from: "LICENSE"
to: "."
# Windows
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/mateimicu/kdiscover/releases/download/{{ .TagName }}/kdiscover_{{ .TagName }}_windows_amd64.zip" .TagName }}
bin: kubectl-discover.exe
files:
- from: "kdiscover.exe"
to: "kubectl-discover.exe"
- from: "LICENSE"
to: "."
- selector:
matchLabels:
os: windows
arch: arm64
{{addURIAndSha "https://github.com/mateimicu/kdiscover/releases/download/{{ .TagName }}/kdiscover_{{ .TagName }}_windows_arm64.zip" .TagName }}
bin: kubectl-discover.exe
files:
- from: "kdiscover.exe"
to: "kubectl-discover.exe"
- from: "LICENSE"
to: "."
- selector:
matchLabels:
os: windows
arch: 386
{{addURIAndSha "https://github.com/mateimicu/kdiscover/releases/download/{{ .TagName }}/kdiscover_{{ .TagName }}_windows_386.zip" .TagName }}
bin: kubectl-discover.exe
files:
- from: "kdiscover.exe"
to: "kubectl-discover.exe"
- from: "LICENSE"
to: "."