Skip to content

Commit

Permalink
chore: add .krew.yaml template file
Browse files Browse the repository at this point in the history
  • Loading branch information
knight42 committed Oct 24, 2021
1 parent c12dbd8 commit 120bfbf
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .krew.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: blame
spec:
version: {{ .TagName }}
homepage: https://github.com/knight42/kubectl-blame
shortDescription: Show the manager of each field of given resource with information from managed fields.
description: |
Annotate each line in the given resource's YAML with information from the managedFields to show who last modified the field.
Examples:
# Blame pod 'foo' in default namespace
kubectl blame pods foo
# Blame deployment 'bar' in 'ns1' namespace
kubectl blame -n ns1 deploy bar
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/knight42/kubectl-blame/releases/download/{{ .TagName }}/kubectl-blame-{{ .TagName }}-darwin-amd64.tar.gz" .TagName }}
bin: kubectl-blame
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/knight42/kubectl-blame/releases/download/{{ .TagName }}/kubectl-blame-{{ .TagName }}-linux-amd64.tar.gz" .TagName }}
bin: kubectl-blame

0 comments on commit 120bfbf

Please sign in to comment.