-
Notifications
You must be signed in to change notification settings - Fork 2
/
.krew.yaml
48 lines (48 loc) · 2.08 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
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: nginx-supportpkg
spec:
version: {{ .TagName }}
platforms:
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/nginxinc/nginx-supportpkg-for-k8s/releases/download/{{ .TagName }}/kubectl-nginx_supportpkg_{{ .TagName }}_linux_arm64.tar.gz" .TagName }}
bin: kubectl-nginx_supportpkg
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/nginxinc/nginx-supportpkg-for-k8s/releases/download/{{ .TagName }}/kubectl-nginx_supportpkg_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
bin: kubectl-nginx_supportpkg
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/nginxinc/nginx-supportpkg-for-k8s/releases/download/{{ .TagName }}/kubectl-nginx_supportpkg_{{ .TagName }}_darwin_arm64.tar.gz" .TagName}}
bin: kubectl-nginx_supportpkg
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/nginxinc/nginx-supportpkg-for-k8s/releases/download/{{ .TagName }}/kubectl-nginx_supportpkg_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
bin: kubectl-nginx_supportpkg
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/nginxinc/nginx-supportpkg-for-k8s/releases/download/{{ .TagName }}/kubectl-nginx_supportpkg_{{ .TagName }}_windows_amd64.tar.gz" .TagName }}
bin: kubectl-nginx_supportpkg
- selector:
matchLabels:
os: windows
arch: arm64
{{addURIAndSha "https://github.com/nginxinc/nginx-supportpkg-for-k8s/releases/download/{{ .TagName }}/kubectl-nginx_supportpkg_{{ .TagName }}_windows_arm64.tar.gz" .TagName }}
bin: kubectl-nginx_supportpkg
shortDescription: Collect support packages for NGINX products that run on k8s
homepage: https://github.com/nginxinc/nginx-supportpkg-for-k8s
description: |
Provides a single command to collect troubleshooting information
for all NGINX products that run on k8s.