doc: improve comments in StorageClass example

The comments of mkfsOptions and mountOptions are
modified to match the real behavior of the code.

Signed-off-by: Majid Garoosi <amoomajid99@gmail.com>
This commit is contained in:
Majid Garoosi 2023-10-18 00:34:30 +03:30 committed by mergify[bot]
parent b54d7cb1ea
commit edb065bdff

View File

@ -44,7 +44,7 @@ parameters:
#
# The default options depend on the csi.storage.k8s.io/fstype setting:
# - ext4: "-m0 -Enodiscard,lazy_itable_init=1,lazy_journal_init=1"
# - xfs: "-onouuid -K"
# - xfs: "-K"
#
# mkfsOptions: "-m0 -Ediscard -i1024"
@ -163,5 +163,7 @@ parameters:
# objectSize: <>
reclaimPolicy: Delete
allowVolumeExpansion: true
# If filesystem is xfs, nouuid will be automatically added to mountOptions
mountOptions:
- discard