From cbe13e8c63cc583cafc98e7a82443092be85cde2 Mon Sep 17 00:00:00 2001 From: Tobias Germer Date: Thu, 28 Dec 2023 18:36:34 +0100 Subject: [PATCH] add kubectl-blame plugin (#2338) * add kubectl-blame plugin * add install docs & credits for kubectl-blame * rename to plugins needed for v0.30.x --- plugins/blame.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 plugins/blame.yml diff --git a/plugins/blame.yml b/plugins/blame.yml new file mode 100644 index 00000000..97220d29 --- /dev/null +++ b/plugins/blame.yml @@ -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"