diff --git a/chart/templates/mayastor/csi/csi-node-daemonset.yaml b/chart/templates/mayastor/csi/csi-node-daemonset.yaml index 2b0548506..74a398eef 100644 --- a/chart/templates/mayastor/csi/csi-node-daemonset.yaml +++ b/chart/templates/mayastor/csi/csi-node-daemonset.yaml @@ -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)" diff --git a/chart/values.yaml b/chart/values.yaml index 8cff09c26..5d754d336 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -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