-
Notifications
You must be signed in to change notification settings - Fork 1
/
.krew.yaml
36 lines (36 loc) · 1.52 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
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: permissions
spec:
version: {{ .TagName }}
homepage: https://github.com/garethjevans/kubectl-permissions
shortDescription: Displays and traces service account permissions
description: |
This plugin lets you trace ServiceAccounts to Roles, RoleBindings and permissions
to troubleshoot the bindings and transitive permission assignments.
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/garethjevans/kubectl-permissions/releases/download/{{ .TagName }}/kubectl-permissions_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
bin: kubectl-permissions
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/garethjevans/kubectl-permissions/releases/download/{{ .TagName }}/kubectl-permissions_{{ .TagName }}_darwin_arm64.tar.gz" .TagName }}
bin: kubectl-permissions
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/garethjevans/kubectl-permissions/releases/download/{{ .TagName }}/kubectl-permissions_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
bin: kubectl-permissions
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/garethjevans/kubectl-permissions/releases/download/{{ .TagName }}/kubectl-permissions_{{ .TagName }}_windows_amd64.tar.gz" .TagName }}
bin: kubectl-permissions.exe