mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-12-20 21:58:06 +00:00
Merge pull request #201 from aquasecurity/yam-comment
Comment why we mount /usr/bin
This commit is contained in:
commit
8dabb7dc37
@ -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
|
||||||
|
@ -17,6 +17,8 @@ spec:
|
|||||||
mountPath: /etc/systemd
|
mountPath: /etc/systemd
|
||||||
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user