Skip to content

Commit 83575c6

Browse files
committed
mount /dev/disk instead of /dev
1 parent 05641be commit 83575c6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ spec:
9595
readOnly: true
9696
{{- end }}
9797
- name: configdrive-dev
98-
mountPath: /dev
98+
mountPath: /dev/disk
9999
mountPropagation: "HostToContainer"
100100
{{- with $.Values.nodeplugin.volumeMounts }}
101101
{{- toYaml . | nindent 12 }}
@@ -125,7 +125,7 @@ spec:
125125
{{- end }}
126126
- name: configdrive-dev
127127
hostPath:
128-
path: /dev
128+
path: /dev/disk
129129
type: Directory
130130
{{- with .Values.nodeplugin.volumes }}
131131
{{- toYaml . | nindent 8 }}

manifests/manila-csi-plugin/csi-nodeplugin.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ spec:
8181
- name: fwd-plugin-dir
8282
mountPath: /var/lib/kubelet/plugins/FWD-NODEPLUGIN
8383
- name: configdrive-dev
84-
mountPath: /dev
84+
mountPath: /dev/disk
8585
mountPropagation: "HostToContainer"
8686
volumes:
8787
- name: registration-dir
@@ -98,5 +98,5 @@ spec:
9898
type: DirectoryOrCreate
9999
- name: configdrive-dev
100100
hostPath:
101-
path: /dev
101+
path: /dev/disk
102102
type: Directory

0 commit comments

Comments
 (0)