Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add field to pass additional arguments to the node plugin #45

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions charts/juicefs-csi-driver/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ spec:
{{- if eq .Values.mountMode "process" }}
- --by-process=true
{{- end }}
{{- with .Values.node.additionalArguments }}
{{- toYaml . | trim | nindent 8 }}
{{- end }}
env:
- name: CSI_ENDPOINT
value: unix:/csi/csi.sock
Expand Down
3 changes: 3 additions & 0 deletions charts/juicefs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ node:
tolerations:
- key: CriticalAddonsOnly
operator: Exists
# Additional command line arguments for the juicefs-plugin
additionalArguments: []
# - "--format-in-pod=true"
# PriorityClass name for CSI Node Service pods
priorityClassName: system-node-critical
# -- Extra envs of CSI Node
Expand Down