Skip to content

Commit 87c55ee

Browse files
committed
add readOnly to hostpath mounts
1 parent 89b8290 commit 87c55ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deploy/kubernetes/daemonset.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ spec:
2424
volumeMounts:
2525
- name: kubelet-podresources
2626
mountPath: /podresources
27+
readOnly: true
2728
- name: dev
2829
mountPath: /dev
30+
readOnly: true
2931
- name: libnvidia
3032
mountPath: /home/kubernetes/bin/nvidia/lib64/
33+
readOnly: true
3134
securityContext:
3235
privileged: true
3336
ports:

0 commit comments

Comments
 (0)