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/