-
Notifications
You must be signed in to change notification settings - Fork 37
/
.krew.yaml
52 lines (50 loc) · 2.18 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
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: operator
spec:
version: {{ .TagName }}
homepage: https://github.com/operator-framework/kubectl-operator
shortDescription: Manage operators with Operator Lifecycle Manager
description: |
This plugin is a package manager for operators in your cluster. It
simplifies adding and removing operator catalogs, and it has familiar
commands for installing, uninstalling, and listing available and
installed operators.
One example of a catalog is the public operatorhub.io index, which
is installed by default with Operator Lifecycle Manager.
caveats: |
* This plugin requires Operator Lifecycle Manager to be installed in your
cluster. See the installation instructions at
https://olm.operatorframework.io/docs/getting-started/
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/operator-framework/kubectl-operator/releases/download/{{ .TagName }}/kubectl-operator_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
bin: kubectl-operator
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/operator-framework/kubectl-operator/releases/download/{{ .TagName }}/kubectl-operator_{{ .TagName }}_darwin_arm64.tar.gz" .TagName }}
bin: kubectl-operator
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/operator-framework/kubectl-operator/releases/download/{{ .TagName }}/kubectl-operator_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
bin: kubectl-operator
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/operator-framework/kubectl-operator/releases/download/{{ .TagName }}/kubectl-operator_{{ .TagName }}_linux_arm64.tar.gz" .TagName }}
bin: kubectl-operator
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/operator-framework/kubectl-operator/releases/download/{{ .TagName }}/kubectl-operator_{{ .TagName }}_windows_amd64.tar.gz" .TagName }}
bin: kubectl-operator.exe