1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-12-22 06:38:06 +00:00

Add comment for why /usr/bin is mounted

This commit is contained in:
Liz Rice 2019-01-17 11:33:35 +00:00 committed by GitHub
parent 86b126ad2b
commit 3422b9102f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,8 @@ spec:
mountPath: /var/lib/etcd
- name: etc-kubernetes
mountPath: /etc/kubernetes
# /usr/bin is mounted to access kubectl / kubelet, for auto-detecting the Kubernetes version.
# You can omit this mount if you specify --version as part of the command.
- name: usr-bin
mountPath: /usr/bin
restartPolicy: Never
@ -33,4 +35,4 @@ spec:
path: "/etc/kubernetes"
- name: usr-bin
hostPath:
path: "/usr/bin"
path: "/usr/bin"