Skip to content

Commit

Permalink
chore(bors): merge pull request #460
Browse files Browse the repository at this point in the history
460: 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 1, 2024
2 parents fbc257b + 000fb64 commit b933da4
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 @@ -74,6 +74,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.pluginMounthPath }}/{{ .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 @@ -326,6 +326,9 @@ csi:
kubeletDir: /var/lib/kubelet
pluginMounthPath: /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 b933da4

Please sign in to comment.