node-exporter: Make host mounts read only and set mount propagation
This commit is contained in:
2 files changed
+10
-4
No files matched your search
@@ -36,11 +36,13 @@ spec:
|
||||
memory: 180Mi
|
||||
volumeMounts:
|
||||
- mountPath: /host/proc
|
||||
mountPropagation: HostToContainer
|
||||
name: proc
|
||||
readOnly: false
|
||||
readOnly: true
|
||||
- mountPath: /host/sys
|
||||
mountPropagation: HostToContainer
|
||||
name: sys
|
||||
readOnly: false
|
||||
readOnly: true
|
||||
- mountPath: /host/root
|
||||
mountPropagation: HostToContainer
|
||||
name: root
|
||||
|
||||
Reference in new issue
Block a user