forked from ahmetb/kubectl-tree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.krew.yaml
35 lines (35 loc) · 1.38 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
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: tree
spec:
version: {{ .TagName }}
homepage: https://github.com/ahmetb/kubectl-tree
shortDescription: Show a tree of object hierarchies through ownerReferences
description: |
This plugin shows sub-resources of a specified Kubernetes API object in a
tree view in the command-line. The parent-child relationship is discovered
using ownerReferences on the child object.
caveats: |
* For resources that are not in default namespace, currently you must
specify -n/--namespace explicitly (the current namespace setting is not
yet used).
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/ahmetb/kubectl-tree/releases/download/{{ .TagName }}/kubectl-tree_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
bin: kubectl-tree
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/ahmetb/kubectl-tree/releases/download/{{ .TagName }}/kubectl-tree_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
bin: kubectl-tree
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/ahmetb/kubectl-tree/releases/download/{{ .TagName }}/kubectl-tree_{{ .TagName }}_windows_amd64.tar.gz" .TagName }}
bin: kubectl-tree.exe