From b33d75d5a5abbdff53351a17e78988bc512d03d1 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 16 Oct 2024 13:20:43 +0200 Subject: [PATCH] Revert "Try default paths" This reverts commit 55ffd9497ea22d719913a9c7620a9f1d6457cd58. --- cinder/cinder-csi-nodeplugin.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cinder/cinder-csi-nodeplugin.yaml b/cinder/cinder-csi-nodeplugin.yaml index 9798bef..812f4e6 100644 --- a/cinder/cinder-csi-nodeplugin.yaml +++ b/cinder/cinder-csi-nodeplugin.yaml @@ -29,7 +29,7 @@ spec: - name: ADDRESS value: /csi/csi.sock - name: DRIVER_REG_SOCK_PATH - value: /var/lib/kubelet/plugins/cinder.csi.openstack.org/csi.sock + value: /var/snap/microk8s/common/var/lib/kubelet/plugins/cinder.csi.openstack.org/csi.sock - name: KUBE_NODE_NAME valueFrom: fieldRef: @@ -82,7 +82,7 @@ spec: - name: socket-dir mountPath: /csi - name: kubelet-dir - mountPath: /var/lib/kubelet + mountPath: /var/snap/microk8s/common/var/lib/kubelet mountPropagation: "Bidirectional" - name: pods-probe-dir mountPath: /dev @@ -96,15 +96,15 @@ spec: volumes: - name: socket-dir hostPath: - path: /var/lib/kubelet/plugins/cinder.csi.openstack.org + path: /var/snap/microk8s/common/var/lib/kubelet/plugins/cinder.csi.openstack.org type: DirectoryOrCreate - name: registration-dir hostPath: - path: /var/lib/kubelet/plugins_registry/ + path: /var/snap/microk8s/common/var/lib/kubelet/plugins_registry/ type: Directory - name: kubelet-dir hostPath: - path: /var/lib/kubelet + path: /var/snap/microk8s/common/var/lib/kubelet type: Directory - name: pods-probe-dir hostPath: