1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
kyverno/.krew.yaml
skuethe 016771acde
feat: add linux/s390x builds (#3277)
Signed-off-by: skuethe <56306041+skuethe@users.noreply.github.com>

Co-authored-by: shuting <shuting@nirmata.com>
2022-02-22 23:40:46 +08:00

68 lines
2.2 KiB
YAML

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: linux
arch: s390x
{{addURIAndSha "https://github.com/kyverno/kyverno/releases/download/{{ .TagName }}/kyverno-cli_{{ .TagName }}_linux_s390x.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