-
Notifications
You must be signed in to change notification settings - Fork 7
/
.krew.yaml
57 lines (57 loc) · 1.85 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
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: gs
spec:
version: {{ .TagName }}
homepage: https://github.com/giantswarm/kubectl-gs
shortDescription: Handle custom resources with Giant Swarm
description: |
Simplifies creating clusters and node pools via Giant Swarm
management clusters, as well as installing app catalogs and apps.
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/giantswarm/kubectl-gs/releases/download/{{ .TagName }}/kubectl-gs-{{ .TagName }}-darwin-amd64.tar.gz" .TagName }}
files:
- from: ./kubectl-gs-*/*
to: .
bin: ./kubectl-gs
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/giantswarm/kubectl-gs/releases/download/{{ .TagName }}/kubectl-gs-{{ .TagName }}-darwin-arm64.tar.gz" .TagName }}
files:
- from: ./kubectl-gs-*/*
to: .
bin: ./kubectl-gs
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/giantswarm/kubectl-gs/releases/download/{{ .TagName }}/kubectl-gs-{{ .TagName }}-linux-amd64.tar.gz" .TagName }}
files:
- from: ./kubectl-gs-*/*
to: .
bin: ./kubectl-gs
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/giantswarm/kubectl-gs/releases/download/{{ .TagName }}/kubectl-gs-{{ .TagName }}-linux-arm64.tar.gz" .TagName }}
files:
- from: ./kubectl-gs-*/*
to: .
bin: ./kubectl-gs
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/giantswarm/kubectl-gs/releases/download/{{ .TagName }}/kubectl-gs-{{ .TagName }}-windows-amd64.zip" .TagName }}
files:
- from: ./kubectl-gs-*/*
to: .
bin: ./kubectl-gs.exe