cephfs/cephfsplugin.yaml: mount hosts's /dev into csi-cephfsplugin container

This commit is contained in:
gman 2018-03-22 16:51:39 +01:00
parent 4c5c67b8f9
commit a585f083ab

View File

@ -100,9 +100,11 @@ spec:
mountPropagation: "Bidirectional" mountPropagation: "Bidirectional"
- mountPath: /sys - mountPath: /sys
name: host-sys name: host-sys
- mountPath: /lib/modules - name: lib-modules
name: lib-modules mountPath: /lib/modules
readOnly: true readOnly: true
- name: host-dev
mountPath: /dev
volumes: volumes:
- name: plugin-dir - name: plugin-dir
hostPath: hostPath:
@ -122,3 +124,6 @@ spec:
- name: lib-modules - name: lib-modules
hostPath: hostPath:
path: /lib/modules path: /lib/modules
- name: host-dev
hostPath:
path: /dev