deploy/cephfs/kubernetes/csi-cephfsplugin.yaml: Add /var/lib/kubelet/plugins/kubernetes.io/csi bidirectional mount into plugin container

This commit is contained in:
Mike Cronce 2018-12-14 15:16:11 -05:00
parent 5ae81821e4
commit a0be6e27d3

View File

@ -60,6 +60,9 @@ spec:
volumeMounts: volumeMounts:
- name: plugin-dir - name: plugin-dir
mountPath: /var/lib/kubelet/plugins_registry/csi-cephfsplugin 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 - name: pods-mount-dir
mountPath: /var/lib/kubelet/pods mountPath: /var/lib/kubelet/pods
mountPropagation: "Bidirectional" mountPropagation: "Bidirectional"
@ -75,6 +78,10 @@ spec:
hostPath: hostPath:
path: /var/lib/kubelet/plugins_registry/csi-cephfsplugin path: /var/lib/kubelet/plugins_registry/csi-cephfsplugin
type: DirectoryOrCreate type: DirectoryOrCreate
- name: csi-plugins-dir
hostPath:
path: /var/lib/kubelet/plugins/kubernetes.io/csi
type: DirectoryOrCreate
- name: registration-dir - name: registration-dir
hostPath: hostPath:
path: /var/lib/kubelet/plugins_registry/ path: /var/lib/kubelet/plugins_registry/