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