From 894c708a82066aa86117f366a6dc118d7e6c7ab3 Mon Sep 17 00:00:00 2001 From: Yordi Pauptit Date: Fri, 26 Sep 2025 19:23:16 +0200 Subject: [PATCH 1/2] feat: add additional arguments for node csi-plugin --- deploy/helm/templates/node.yaml | 3 +++ deploy/helm/values.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/deploy/helm/templates/node.yaml b/deploy/helm/templates/node.yaml index 5f220bb..c896767 100644 --- a/deploy/helm/templates/node.yaml +++ b/deploy/helm/templates/node.yaml @@ -101,6 +101,9 @@ spec: - --log-level=info - --nodeid=$(KUBE_NODE_NAME) - --chroot-dir=/host + {{- with $.Values.node.extraArgs }} + {{ toYaml . }} + {{- end }} env: - name: CSI_ENDPOINT value: unix://csi/csi.sock diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yaml index 5cc071e..9c889c0 100644 --- a/deploy/helm/values.yaml +++ b/deploy/helm/values.yaml @@ -58,6 +58,8 @@ node: # If your kubelet path is not standard, specify it here : ## example for miocrok8s distrib : /var/snap/microk8s/common/var/lib/kubelet kubeletPath: /var/lib/kubelet + extraArgs: [] + # - --iscsiadm-path=/usr/local/sbin/iscsiadm # Specifies affinity, nodeSelector and tolerations for the snapshotter StatefulSet snapshotter: affinity: { } From 1671c1b6e3c80bc935d3383db86f2ab040960f44 Mon Sep 17 00:00:00 2001 From: Yordi Pauptit Date: Sun, 21 Dec 2025 22:36:52 +0100 Subject: [PATCH 2/2] fix: close support chroot dir check --- deploy/helm/templates/node.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/helm/templates/node.yaml b/deploy/helm/templates/node.yaml index 8e8cf3e..466ac73 100644 --- a/deploy/helm/templates/node.yaml +++ b/deploy/helm/templates/node.yaml @@ -102,6 +102,7 @@ spec: - --nodeid=$(KUBE_NODE_NAME) {{- if .plugin.supportChrootDir }} - --chroot-dir=/host + {{- end }} {{- with $.Values.node.extraArgs }} {{ toYaml . }} {{- end }}