-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.krew.yaml
107 lines (106 loc) · 4.14 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
104
105
106
107
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: crane
spec:
homepage: https://github.com/gocrane/kubectl-crane
shortDescription: "Easily interact with Crane"
description: |
Crane is a powerful FinOps platform that can analyze
the state of a kubernetes cluster and provide detailed
optimization recommendations. With these recommendations,
users can easily adjust their deployments to reduce costs
and increase efficiency. The kubectl plugin makes it easy
for users to follow these recommendations by allowing them
to manually adjust the number of replicas or requests for
a deployment with just a few simple commands.
version: {{ .TagName }}
platforms:
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/gocrane/kubectl-crane/releases/download/{{ .TagName }}/kubectl-crane_{{ .TagName }}_Darwin_arm64.tar.gz" .TagName }}
files:
- from: kubectl-crane_{{ .TagName }}_Darwin_arm64/kubectl-crane
to: kubectl-crane
- from: kubectl-crane_{{ .TagName }}_Darwin_arm64/LICENSE
to: LICENSE
bin: kubectl-crane
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/gocrane/kubectl-crane/releases/download/{{ .TagName }}/kubectl-crane_{{ .TagName }}_Darwin_x86_64.tar.gz" .TagName }}
files:
- from: kubectl-crane_{{ .TagName }}_Darwin_x86_64/kubectl-crane
to: kubectl-crane
- from: kubectl-crane_{{ .TagName }}_Darwin_x86_64/LICENSE
to: LICENSE
bin: kubectl-crane
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/gocrane/kubectl-crane/releases/download/{{ .TagName }}/kubectl-crane_{{ .TagName }}_Linux_x86_64.tar.gz" .TagName }}
files:
- from: kubectl-crane_{{ .TagName }}_Linux_x86_64/kubectl-crane
to: kubectl-crane
- from: kubectl-crane_{{ .TagName }}_Linux_x86_64/LICENSE
to: LICENSE
bin: kubectl-crane
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/gocrane/kubectl-crane/releases/download/{{ .TagName }}/kubectl-crane_{{ .TagName }}_Linux_arm64.tar.gz" .TagName }}
files:
- from: kubectl-crane_{{ .TagName }}_Linux_arm64/kubectl-crane
to: kubectl-crane
- from: kubectl-crane_{{ .TagName }}_Linux_arm64/LICENSE
to: LICENSE
bin: kubectl-crane
- selector:
matchLabels:
os: linux
arch: 386
{{addURIAndSha "https://github.com/gocrane/kubectl-crane/releases/download/{{ .TagName }}/kubectl-crane_{{ .TagName }}_Linux_i386.tar.gz" .TagName }}
files:
- from: kubectl-crane_{{ .TagName }}_Linux_i386/kubectl-crane
to: kubectl-crane
- from: kubectl-crane_{{ .TagName }}_Linux_i386/LICENSE
to: LICENSE
bin: kubectl-crane
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/gocrane/kubectl-crane/releases/download/{{ .TagName }}/kubectl-crane_{{ .TagName }}_Windows_x86_64.zip" .TagName }}
files:
- from: kubectl-crane_{{ .TagName }}_Windows_x86_64/kubectl-crane.exe
to: kubectl-crane.exe
- from: kubectl-crane_{{ .TagName }}_Windows_x86_64/LICENSE
to: LICENSE
bin: kubectl-crane.exe
- selector:
matchLabels:
os: windows
arch: arm64
{{addURIAndSha "https://github.com/gocrane/kubectl-crane/releases/download/{{ .TagName }}/kubectl-crane_{{ .TagName }}_Windows_arm64.zip" .TagName }}
files:
- from: kubectl-crane_{{ .TagName }}_Windows_arm64/kubectl-crane.exe
to: kubectl-crane.exe
- from: kubectl-crane_{{ .TagName }}_Windows_arm64/LICENSE
to: LICENSE
bin: kubectl-crane.exe
- selector:
matchLabels:
os: windows
arch: 386
{{addURIAndSha "https://github.com/gocrane/kubectl-crane/releases/download/{{ .TagName }}/kubectl-crane_{{ .TagName }}_Windows_i386.zip" .TagName }}
files:
- from: kubectl-crane_{{ .TagName }}_Windows_i386/kubectl-crane.exe
to: kubectl-crane.exe
- from: kubectl-crane_{{ .TagName }}_Windows_i386/LICENSE
to: LICENSE
bin: kubectl-crane.exe