From c346e460228af638b4000be2938bb7ffc690f2da Mon Sep 17 00:00:00 2001
From: Kevin Huang <git@kevin.huang.to>
Date: Sat, 8 Oct 2022 10:23:19 +0200
Subject: [PATCH] fix(cinder-csi-nodeplugin): Remove the pods-cloud-data volume
 (#9362)

---
 .../cinder/templates/cinder-csi-nodeplugin.yml.j2          | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-nodeplugin.yml.j2 b/roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-nodeplugin.yml.j2
index d0a86bd9f..3cdf9bb94 100644
--- a/roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-nodeplugin.yml.j2
+++ b/roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-nodeplugin.yml.j2
@@ -80,9 +80,6 @@ spec:
             - name: kubelet-dir
               mountPath: /var/lib/kubelet
               mountPropagation: "Bidirectional"
-            - name: pods-cloud-data
-              mountPath: /var/lib/cloud/data
-              readOnly: true
             - name: pods-probe-dir
               mountPath: /dev
               mountPropagation: "HostToContainer"
@@ -110,10 +107,6 @@ spec:
           hostPath:
             path: /var/lib/kubelet
             type: Directory
-        - name: pods-cloud-data
-          hostPath:
-            path: /var/lib/cloud/data
-            type: Directory
         - name: pods-probe-dir
           hostPath:
             path: /dev
-- 
GitLab