mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2025-02-16 17:42:05 +00:00
Update job-node.yaml
This commit is contained in:
parent
3422b9102f
commit
528bcfbffe
@ -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
|
||||||
@ -32,4 +34,4 @@ spec:
|
|||||||
path: "/etc/kubernetes"
|
path: "/etc/kubernetes"
|
||||||
- name: usr-bin
|
- name: usr-bin
|
||||||
hostPath:
|
hostPath:
|
||||||
path: "/usr/bin"
|
path: "/usr/bin"
|
||||||
|
Loading…
Reference in New Issue
Block a user