1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-11-25 17:38:21 +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 mountPath: /var/lib/etcd
- name: etc-kubernetes - name: etc-kubernetes
mountPath: /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 - name: usr-bin
mountPath: /usr/bin mountPath: /usr/bin
restartPolicy: Never restartPolicy: Never