ceph-csi/internal/cephfs
Niels de Vos b810ca57a0 cephfs: trim spaces around fuseMountOptions
When passing

    fuseMountOptions: debug

in the StorageClass, the mount options passed on the ceph-fuse
commandline result in "-o nonempty ,debug". The additional space before
the ",debug" causes the mount command to fail.

Fixes: 1485
Signed-off-by: Niels de Vos <ndevos@redhat.com>
(cherry picked from commit 6f2f972f5b)
2020-09-23 14:39:43 +00:00
..
cephfs_util.go util: simplify error handling 2020-07-23 11:16:40 +00:00
clone.go cephfs: replace Errorf with util.ErrorLog in getCloneInfo 2020-08-13 09:44:12 +00:00
controllerserver.go cephfs: fix lock release in volumeDelete 2020-08-18 10:07:25 +00:00
driver.go cephfs: replace warning with WarningLogMsg in Run 2020-08-13 09:44:12 +00:00
errors.go cephfs: use string const for cli error comparison 2020-08-19 18:15:10 +00:00
fsjournal.go cephfs: replace Errorf with ErrorLog in checkSnapExists 2020-08-13 09:44:12 +00:00
identityserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
nodeserver.go cephfs: replace Errorf with ErrorLog in nodeUnstageVolume 2020-08-13 09:44:12 +00:00
snapshot.go cephfs: No-Op Unprotect call if "snapshot-autoprotect" feature present 2020-09-17 09:04:41 +00:00
util.go cephfs: allow readonly only for volume with contentsource 2020-09-10 15:05:38 +00:00
volume.go cephfs: validate if subvolume has snapshot-retention feature 2020-09-11 12:23:19 +00:00
volumemounter.go cephfs: trim spaces around fuseMountOptions 2020-09-23 14:39:43 +00:00
volumeoptions.go cephfs: Fetch subvolume features in newSnapshotOptionsFromID 2020-09-17 09:04:41 +00:00