mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
deploy/cephfs/kubernetes/csi-cephfsplugin.yaml: Add /var/lib/kubelet/plugins/kubernetes.io/csi bidirectional mount into plugin container
This commit is contained in:
@ -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/
|
||||||
|
Reference in New Issue
Block a user