mirror of
https://github.com/SynologyOpenSource/synology-csi.git
synced 2026-08-17 11:29:40 +00:00
Merge pull request #110 from yp28/add-node-extra-args
feat: add additional arguments for node csi-plugin
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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: { }
|
||||
|
||||
Reference in New Issue
Block a user