From a0be6e27d369e8fd1fadfcc97543f777ab6d54eb Mon Sep 17 00:00:00 2001 From: Mike Cronce Date: Fri, 14 Dec 2018 15:16:11 -0500 Subject: [PATCH] deploy/cephfs/kubernetes/csi-cephfsplugin.yaml: Add /var/lib/kubelet/plugins/kubernetes.io/csi bidirectional mount into plugin container --- deploy/cephfs/kubernetes/csi-cephfsplugin.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deploy/cephfs/kubernetes/csi-cephfsplugin.yaml b/deploy/cephfs/kubernetes/csi-cephfsplugin.yaml index a3db6e42e..e8f49f2af 100644 --- a/deploy/cephfs/kubernetes/csi-cephfsplugin.yaml +++ b/deploy/cephfs/kubernetes/csi-cephfsplugin.yaml @@ -60,6 +60,9 @@ spec: volumeMounts: - name: plugin-dir mountPath: /var/lib/kubelet/plugins_registry/csi-cephfsplugin + - name: csi-plugins-dir + mountPath: /var/lib/kubelet/plugins/kubernetes.io/csi + mountPropagation: "Bidirectional" - name: pods-mount-dir mountPath: /var/lib/kubelet/pods mountPropagation: "Bidirectional" @@ -75,6 +78,10 @@ spec: hostPath: path: /var/lib/kubelet/plugins_registry/csi-cephfsplugin type: DirectoryOrCreate + - name: csi-plugins-dir + hostPath: + path: /var/lib/kubelet/plugins/kubernetes.io/csi + type: DirectoryOrCreate - name: registration-dir hostPath: path: /var/lib/kubelet/plugins_registry/