From a585f083abe3ddaf65f8f4d93e99865f6c89dae9 Mon Sep 17 00:00:00 2001 From: gman Date: Thu, 22 Mar 2018 16:51:39 +0100 Subject: [PATCH] cephfs/cephfsplugin.yaml: mount hosts's /dev into csi-cephfsplugin container --- deploy/cephfs/kubernetes/cephfsplugin.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/deploy/cephfs/kubernetes/cephfsplugin.yaml b/deploy/cephfs/kubernetes/cephfsplugin.yaml index d3c3f6290..507d6ca64 100644 --- a/deploy/cephfs/kubernetes/cephfsplugin.yaml +++ b/deploy/cephfs/kubernetes/cephfsplugin.yaml @@ -100,9 +100,11 @@ spec: mountPropagation: "Bidirectional" - mountPath: /sys name: host-sys - - mountPath: /lib/modules - name: lib-modules + - name: lib-modules + mountPath: /lib/modules readOnly: true + - name: host-dev + mountPath: /dev volumes: - name: plugin-dir hostPath: @@ -122,3 +124,6 @@ spec: - name: lib-modules hostPath: path: /lib/modules + - name: host-dev + hostPath: + path: /dev