add krew.yaml (#43)

Signed-off-by: hantmac <hantmac@outlook.com>
This commit is contained in:
Jeremy 2022-02-07 14:08:41 +08:00 committed by GitHub
parent 935a228bdc
commit 991a3833b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 68 additions and 0 deletions

68
.krew.yaml Normal file
View File

@ -0,0 +1,68 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: kruise
spec:
version: "{{ .TagName }}"
platforms:
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-linux-amd64.tar.gz .TagName }}
files:
- from: "*/kubectl-kruise"
to: "."
- from: "*/LICENSE"
to: "."
bin: "kubectl-kruise"
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-linux-arm64.tar.gz .TagName }}
files:
- from: "*/kubectl-kruise"
to: "."
- from: "*/LICENSE"
to: "."
bin: "kubectl-kruise"
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-darwin-amd64.tar.gz .TagName }}
files:
- from: "*/kubectl-kruise"
to: "."
- from: "*/LICENSE"
to: "."
bin: "kubectl-kruise"
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-darwin-arm64.tar.gz .TagName }}
files:
- from: "*/kubectl-kruise"
to: "."
- from: "*/LICENSE"
to: "."
bin: "kubectl-kruise"
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha https://github.com/openkruise/kruise-tools/releases/download/{{ .TagName }}/kubectl-kruise-windows-amd64.tar.gz .TagName }}
files:
- from: "*/kubectl-kruise"
to: "."
- from: "*/LICENSE"
to: "."
bin: "kubectl-kruise"
shortDescription: Easily handle OpenKruise workloads
homepage: https://openkruise.io/
description: |
kubectl kruise is a kubectl plugin from the OpenKruise project. OpenKruise is an extended component suite for Kubernetes,
which mainly focuses on application automations, such as deployment, upgrade, ops and avalibility protection.
This plugin allows you to better handle, manage and maintain OpenKruise workloads.