cephfs: check volumeOptions.Mounter and choose ceph-fuse or mount.ceph accordingly

This commit is contained in:
gman
2018-03-22 14:11:51 +01:00
parent defc676b3d
commit 4c5c67b8f9
4 changed files with 95 additions and 37 deletions

View File

@ -4,9 +4,13 @@ metadata:
name: csi-cephfs
provisioner: csi-cephfsplugin
parameters:
monitors: 192.168.122.11:6789
# The driver can use either ceph-fuse (fuse) or ceph kernel client (kernel)
mounter: fuse
monitors: mon1:port,mon2:port
rootPath: /
user: admin
csiProvisionerSecretName: csi-cephfs-secret
csiProvisionerSecretNameSpace: default
reclaimPolicy: Delete