1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-11-15 20:39:08 +00:00

Merge pull request #201 from aquasecurity/yam-comment

Comment why we mount /usr/bin
This commit is contained in:
Liz Rice 2019-01-22 09:49:25 +01:00 committed by GitHub
commit 8dabb7dc37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

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"

View File

@ -17,6 +17,8 @@ spec:
mountPath: /etc/systemd
- 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
@ -32,4 +34,4 @@ spec:
path: "/etc/kubernetes"
- name: usr-bin
hostPath:
path: "/usr/bin"
path: "/usr/bin"