-
Notifications
You must be signed in to change notification settings - Fork 26
/
.krew.yaml
58 lines (58 loc) · 2.53 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
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: gke-policy
spec:
shortDescription: Validates GKE clusters configuration
homepage: https://github.com/google/gke-policy-automation
description: |
Tool and policy library for validating Google Kubernetes Engine clusters
against the configuration best practices and scalability limits.
caveats: |
The plugin requires Google Cloud credentials to work.
Use "gcloud auth application-default login" command to authenticate or
specify credentials file as an argument.
version: {{ .TagName }}
platforms:
- bin: gke-policy
selector:
matchLabels:
os: linux
arch: arm
{{addURIAndSha "https://github.com/google/gke-policy-automation/releases/download/{{ .TagName }}/gke-policy-automation_{{ .TagName }}_linux_arm.zip" .TagName | indent 6}}
- bin: gke-policy
selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/google/gke-policy-automation/releases/download/{{ .TagName }}/gke-policy-automation_{{ .TagName }}_linux_amd64.zip" .TagName | indent 6}}
- bin: gke-policy
selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/google/gke-policy-automation/releases/download/{{ .TagName }}/gke-policy-automation_{{ .TagName }}_linux_arm64.zip" .TagName | indent 6}}
- bin: gke-policy.exe
selector:
matchLabels:
os: windows
arch: 386
{{addURIAndSha "https://github.com/google/gke-policy-automation/releases/download/{{ .TagName }}/gke-policy-automation_{{ .TagName }}_windows_386.zip" .TagName | indent 6}}
- bin: gke-policy.exe
selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/google/gke-policy-automation/releases/download/{{ .TagName }}/gke-policy-automation_{{ .TagName }}_windows_amd64.zip" .TagName | indent 6}}
- bin: gke-policy
selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/google/gke-policy-automation/releases/download/{{ .TagName }}/gke-policy-automation_{{ .TagName }}_darwin_amd64.zip" .TagName | indent 6}}
- bin: gke-policy
selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/google/gke-policy-automation/releases/download/{{ .TagName }}/gke-policy-automation_{{ .TagName }}_darwin_arm64.zip" .TagName | indent 6}}