-
Notifications
You must be signed in to change notification settings - Fork 21
/
.krew.yaml
59 lines (59 loc) · 2.05 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: dds
spec:
version: {{ .TagName }}
homepage: https://github.com/aws-containers/kubectl-detector-for-docker-socket
shortDescription: Detect if workloads are mounting the docker socket
description: |
This plugin checks workloads in a Kubernetes cluster or manifest files
and reports if any of the mounted volumes contain the string "docker.sock".
caveats: |
* If your docker socket is mounted at a different path name it will not
be checked.
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/aws-containers/kubectl-detector-for-docker-socket/releases/download/{{ .TagName }}/kubectl-detector-for-docker-socket_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
bin: "./kubectl-dds"
files:
- from: kubectl-dds
to: .
- from: LICENSE
to: .
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/aws-containers/kubectl-detector-for-docker-socket/releases/download/{{ .TagName }}/kubectl-detector-for-docker-socket_{{ .TagName }}_darwin_arm64.tar.gz" .TagName }}
bin: "./kubectl-dds"
files:
- from: kubectl-dds
to: .
- from: LICENSE
to: .
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/aws-containers/kubectl-detector-for-docker-socket/releases/download/{{ .TagName }}/kubectl-detector-for-docker-socket_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
bin: "./kubectl-dds"
files:
- from: kubectl-dds
to: .
- from: LICENSE
to: .
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/aws-containers/kubectl-detector-for-docker-socket/releases/download/{{ .TagName }}/kubectl-detector-for-docker-socket_{{ .TagName }}_windows_amd64.tar.gz" .TagName }}
bin: "./kubectl-dds.exe"
files:
- from: kubectl-dds.exe
to: .
- from: LICENSE
to: .