mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
7a8298419e
* automate kyverno-cli plugin release for krew * windows support added * revert ci changes * update plugin name * documentation added Co-authored-by: Yuvraj <yuvraj@neualto.com>
46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
apiVersion: krew.googlecontainertools.github.com/v1alpha2
|
|
kind: Plugin
|
|
metadata:
|
|
name: kyverno
|
|
spec:
|
|
version: {{ .TagName }}
|
|
homepage: https://github.com/nirmata/kyverno
|
|
platforms:
|
|
- selector:
|
|
matchLabels:
|
|
os: linux
|
|
arch: amd64
|
|
{{addURIAndSha "https://github.com/nirmata/kyverno/releases/download/{{ .TagName }}/kyverno-cli_{{ .TagName }}_linux_x86_64.tar.gz" .TagName }}
|
|
files:
|
|
- from: kyverno
|
|
to: .
|
|
- from: LICENSE
|
|
to: .
|
|
bin: kyverno
|
|
- selector:
|
|
matchLabels:
|
|
os: darwin
|
|
arch: amd64
|
|
{{addURIAndSha "https://github.com/nirmata/kyverno/releases/download/{{ .TagName }}/kyverno-cli_{{ .TagName }}_darwin_x86_64.tar.gz" .TagName }}
|
|
files:
|
|
- from: kyverno
|
|
to: .
|
|
- from: LICENSE
|
|
to: .
|
|
bin: kyverno
|
|
- selector:
|
|
matchLabels:
|
|
os: windows
|
|
arch: amd64
|
|
{{addURIAndSha "https://github.com/nirmata/kyverno/releases/download/{{ .TagName }}/kyverno-cli_{{ .TagName }}_windows_x86_64.zip" .TagName }}
|
|
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
|