deploy: allow mkfsOptions

Signed-off-by: Domonkos Cinke <seayou@gmail.com>
This commit is contained in:
Domonkos Cinke
2023-11-06 19:03:12 +01:00
committed by mergify[bot]
parent d753eaa016
commit d0fea3baed
3 changed files with 15 additions and 0 deletions

View File

@ -341,6 +341,17 @@ storageClass:
# should work with any mounter type.
# tryOtherMounters: false
# (optional) Options to pass to the `mkfs` command while creating the
# filesystem on the RBD device. Check the man-page for the `mkfs` command
# for the filesystem for more details. When `mkfsOptions` is set here, the
# defaults will not be used, consider including them in this parameter.
#
# The default options depend on the csi.storage.k8s.io/fstype setting:
# - ext4: "-m0 -Enodiscard,lazy_itable_init=1,lazy_journal_init=1"
# - xfs: "-K"
#
# mkfsOptions: "-m0 -Ediscard -i1024"
# (optional) uncomment the following to use rbd-nbd as mounter
# on supported nodes
# mounter: rbd-nbd