add kubectl-blame plugin (#2338)

* add kubectl-blame plugin

* add install docs & credits for kubectl-blame

* rename to plugins needed for v0.30.x
mine
Tobias Germer 2023-12-28 18:36:34 +01:00 committed by GitHub
parent 9e337a6be0
commit cbe13e8c63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

18
plugins/blame.yml Normal file
View File

@ -0,0 +1,18 @@
plugins:
# kubectl-blame by knight42
# Annotate each line in the given resource's YAML with information from the managedFields to show who last modified the field.
# Source: https://github.com/knight42/kubectl-blame
# Install via:
# krew: `kubectl krew install blame`
# go: `go install github.com/knight42/kubectl-blame@latest`
blame:
shortCut: b
confirm: false
description: "Blame"
scopes:
- all
command: sh
background: false
args:
- -c
- "kubectl-blame $RESOURCE_NAME $NAME -n $NAMESPACE --context $CONTEXT | less"