Skip to content

Commit 120bfbf

Browse files
committed
chore: add .krew.yaml template file
1 parent c12dbd8 commit 120bfbf

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.krew.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
apiVersion: krew.googlecontainertools.github.com/v1alpha2
2+
kind: Plugin
3+
metadata:
4+
name: blame
5+
spec:
6+
version: {{ .TagName }}
7+
homepage: https://github.com/knight42/kubectl-blame
8+
shortDescription: Show the manager of each field of given resource with information from managed fields.
9+
description: |
10+
Annotate each line in the given resource's YAML with information from the managedFields to show who last modified the field.
11+
12+
Examples:
13+
14+
# Blame pod 'foo' in default namespace
15+
kubectl blame pods foo
16+
17+
# Blame deployment 'bar' in 'ns1' namespace
18+
kubectl blame -n ns1 deploy bar
19+
platforms:
20+
- selector:
21+
matchLabels:
22+
os: darwin
23+
arch: amd64
24+
{{addURIAndSha "https://github.com/knight42/kubectl-blame/releases/download/{{ .TagName }}/kubectl-blame-{{ .TagName }}-darwin-amd64.tar.gz" .TagName }}
25+
bin: kubectl-blame
26+
- selector:
27+
matchLabels:
28+
os: linux
29+
arch: amd64
30+
{{addURIAndSha "https://github.com/knight42/kubectl-blame/releases/download/{{ .TagName }}/kubectl-blame-{{ .TagName }}-linux-amd64.tar.gz" .TagName }}
31+
bin: kubectl-blame

0 commit comments

Comments
 (0)