forked from kyverno/kyverno
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.krew.yaml
57 lines (57 loc) · 1.81 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: kyverno
spec:
version: {{ .TagName }}
homepage: https://github.com/kyverno/kyverno
platforms:
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/kyverno/kyverno/releases/download/{{ .TagName }}/kyverno-cli_{{ .TagName }}_linux_x86_64.tar.gz" .TagName | indent 6 }}
files:
- from: kyverno
to: .
- from: LICENSE
to: .
bin: kyverno
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/kyverno/kyverno/releases/download/{{ .TagName }}/kyverno-cli_{{ .TagName }}_darwin_x86_64.tar.gz" .TagName | indent 6 }}
files:
- from: kyverno
to: .
- from: LICENSE
to: .
bin: kyverno
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/kyverno/kyverno/releases/download/{{ .TagName }}/kyverno-cli_{{ .TagName }}_darwin_arm64.tar.gz" .TagName | indent 6 }}
files:
- from: kyverno
to: .
- from: LICENSE
to: .
bin: kyverno
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/kyverno/kyverno/releases/download/{{ .TagName }}/kyverno-cli_{{ .TagName }}_windows_x86_64.zip" .TagName | indent 6 }}
files:
- from: kyverno.exe
to: .
- from: LICENSE
to: .
bin: kyverno.exe
shortDescription: Kyverno is a policy engine for kubernetes
description: |+2
Kyverno is used to test kyverno policies and apply policies to resources files
caveats: |
The plugin requires access to create Policy and CustomResources