From d8a9498fe924582074e440d8504d8ee7dbb0b436 Mon Sep 17 00:00:00 2001 From: Pavel Timofeev Date: Mon, 1 May 2023 13:46:37 -0600 Subject: [PATCH 1/2] Fix mount for node-driver-registrar Currently --kubelet-registration-path parameter of node-driver-registrar container from csi-driver-lvm-plugin daemonSet points to the directory which is not mounted. Found this out when tried to run all csi-driver-lvm containers with readOnlyRootFilesystem securityContext set to "true". --- charts/csi-driver-lvm/templates/plugin.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/csi-driver-lvm/templates/plugin.yaml b/charts/csi-driver-lvm/templates/plugin.yaml index b347cfa..f84e863 100644 --- a/charts/csi-driver-lvm/templates/plugin.yaml +++ b/charts/csi-driver-lvm/templates/plugin.yaml @@ -163,6 +163,8 @@ spec: volumeMounts: - mountPath: /csi name: socket-dir + - mountPath: {{ .Values.kubernetes.kubeletPath }}/plugins/{{ .Values.lvm.storageClassStub }} + name: socket-dir - mountPath: /registration name: registration-dir - name: csi-driver-lvm-plugin From 793765b742dfa4d4bd79e2d86db6cb32139f547e Mon Sep 17 00:00:00 2001 From: Gerrit Date: Fri, 13 Sep 2024 15:46:24 +0200 Subject: [PATCH 2/2] Bump chart version. --- charts/csi-driver-lvm/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/csi-driver-lvm/Chart.yaml b/charts/csi-driver-lvm/Chart.yaml index 220cd5c..585d914 100644 --- a/charts/csi-driver-lvm/Chart.yaml +++ b/charts/csi-driver-lvm/Chart.yaml @@ -1,5 +1,5 @@ name: csi-driver-lvm -version: 0.6.1 +version: 0.6.2 description: local persistend storage for lvm appVersion: v0.5.3 apiVersion: v1