Fix stage-dir - it is different on some installations which leads to csi-s3 malfunction

This commit is contained in:
Vitaliy Filippov 2023-03-15 12:04:19 +03:00
parent c6af9556d7
commit f4d01e12c7

View file

@ -104,7 +104,7 @@ spec:
- name: plugin-dir
mountPath: /csi
- name: stage-dir
mountPath: /var/lib/kubelet/plugins/kubernetes.io/csi/ru.yandex.s3.csi
mountPath: /var/lib/kubelet/plugins/kubernetes.io/csi
mountPropagation: "Bidirectional"
- name: pods-mount-dir
mountPath: /var/lib/kubelet/pods
@ -124,7 +124,7 @@ spec:
type: DirectoryOrCreate
- name: stage-dir
hostPath:
path: /var/lib/kubelet/plugins/kubernetes.io/csi/ru.yandex.s3.csi
path: /var/lib/kubelet/plugins/kubernetes.io/csi
type: DirectoryOrCreate
- name: pods-mount-dir
hostPath: