Skip to content

Commit

Permalink
chore(bors): merge pull request #462
Browse files Browse the repository at this point in the history
462: feat(csi/xfs): add helm var to xfs options r=tiagolobocastro a=tiagolobocastro

<!

Co-authored-by: Tiago Castro <[email protected]>
  • Loading branch information
mayastor-bors and tiagolobocastro committed Apr 2, 2024
2 parents 747d349 + 0802ad4 commit 6df062e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/templates/mayastor/csi/csi-node-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ spec:
fieldPath: status.podIP
- name: RUST_BACKTRACE
value: "1"
{{- if .Values.csi.node.mkfs_args.xfs }}
- name: MKFS_XFS_ARGS
value: {{ .Values.csi.node.mkfs_args.xfs | quote }}
{{- end }}
args:
- "--csi-socket={{ .Values.csi.node.pluginMountPath }}/{{ .Values.csi.node.socketPath }}"
- "--node-name=$(MY_NODE_NAME)"
Expand Down
3 changes: 3 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,9 @@ csi:
kubeletDir: /var/lib/kubelet
pluginMountPath: /csi
socketPath: csi.sock
# Additional arguments when creating filesystems
mkfs_args:
xfs: ""
# -- Set tolerations, overrides global
tolerations: []
# -- Set PriorityClass, overrides global
Expand Down

0 comments on commit 6df062e

Please sign in to comment.