diff --git a/deploy/helm/templates/node.yaml b/deploy/helm/templates/node.yaml index 88dbdb5..466ac73 100644 --- a/deploy/helm/templates/node.yaml +++ b/deploy/helm/templates/node.yaml @@ -103,6 +103,9 @@ spec: {{- if .plugin.supportChrootDir }} - --chroot-dir=/host {{- end }} + {{- 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 2080b8f..79c142f 100644 --- a/deploy/helm/values.yaml +++ b/deploy/helm/values.yaml @@ -59,6 +59,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: { }