-
Notifications
You must be signed in to change notification settings - Fork 8
/
.krew.yaml
42 lines (42 loc) · 1.62 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
36
37
38
39
40
41
42
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: blame
spec:
version: {{ .TagName }}
homepage: https://github.com/knight42/kubectl-blame
shortDescription: Show who edited resource fields.
description: |
Annotate each line in the given resource's YAML with information from the managedFields to show
who last modified the field.
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: darwin
arch: arm64
{{addURIAndSha "https://github.com/knight42/kubectl-blame/releases/download/{{ .TagName }}/kubectl-blame-{{ .TagName }}-darwin-arm64.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
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/knight42/kubectl-blame/releases/download/{{ .TagName }}/kubectl-blame-{{ .TagName }}-linux-arm64.tar.gz" .TagName }}
bin: kubectl-blame
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/knight42/kubectl-blame/releases/download/{{ .TagName }}/kubectl-blame-{{ .TagName }}-windows-amd64.tar.gz" .TagName }}
bin: kubectl-blame.exe