From d7bbf0d46d995bdf23f7c5da31768d235cad5d74 Mon Sep 17 00:00:00 2001
From: Vitaliy Filippov <vitalif@yourcmc.ru>
Date: Wed, 15 Mar 2023 12:04:19 +0300
Subject: [PATCH] Fix stage-dir - it is different on some installations which
 leads to csi-s3 malfunction

---
 deploy/kubernetes/csi-s3.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/deploy/kubernetes/csi-s3.yaml b/deploy/kubernetes/csi-s3.yaml
index e6b9bf9..f57a49b 100644
--- a/deploy/kubernetes/csi-s3.yaml
+++ b/deploy/kubernetes/csi-s3.yaml
@@ -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: