From d03a12fdbcb3d401ad16e56955f12a106fc66168 Mon Sep 17 00:00:00 2001
From: Aleksandr Safonov <sashakashvile@gmail.com>
Date: Tue, 11 Jul 2023 16:35:55 +0300
Subject: [PATCH] Reflect changes from ecf1031 and f4d01e1 in Helm templates

---
 deploy/helm/templates/csi-s3.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/deploy/helm/templates/csi-s3.yaml b/deploy/helm/templates/csi-s3.yaml
index 4bb68bf..625b886 100644
--- a/deploy/helm/templates/csi-s3.yaml
+++ b/deploy/helm/templates/csi-s3.yaml
@@ -94,6 +94,9 @@ spec:
           volumeMounts:
             - name: plugin-dir
               mountPath: /csi
+            - name: stage-dir
+              mountPath: {{ .Values.kubeletPath }}/plugins/kubernetes.io/csi
+              mountPropagation: "Bidirectional"
             - name: pods-mount-dir
               mountPath: {{ .Values.kubeletPath }}/pods
               mountPropagation: "Bidirectional"
@@ -110,6 +113,10 @@ spec:
           hostPath:
             path: {{ .Values.kubeletPath }}/plugins/ru.yandex.s3.csi
             type: DirectoryOrCreate
+        - name: stage-dir
+          hostPath:
+            path: {{ .Values.kubeletPath }}/plugins/kubernetes.io/csi
+            type: DirectoryOrCreate
         - name: pods-mount-dir
           hostPath:
             path: {{ .Values.kubeletPath }}/pods