deploy: let the pool/fs name be required

Obviously expecting a pool with name `rbd` or CephFS name `myfs`
will be a limitation, as the pool/fs is created by admin manually,
let them choose the name that suits their requirement and come back
edit it in the storage class.

Making the pool/fs name as required field will give more attention,
else with new users it will be mostly left unedited until one hit
the errors saying no pool/fs exists.

This patch clips-off the default pool/fs name and make it a mandatory
field.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
Prasanna Kumar Kalever
2020-09-23 13:59:17 +05:30
committed by mergify[bot]
parent f6de345cc9
commit 0c6d8fbd80
2 changed files with 12 additions and 7 deletions

View File

@ -14,11 +14,12 @@ parameters:
# represent the Ceph cluster in clusterID below
clusterID: <cluster-id>
# CephFS filesystem name into which the volume shall be created
fsName: myfs
# (required) CephFS filesystem name into which the volume shall be created
# eg: fsName: myfs
fsName: <cephfs-name>
# (optional) Ceph pool into which volume data shall be stored
# pool: cephfs_data
# pool: <cephfs-data-pool>
# (optional) Comma separated string of Ceph-fuse mount options.
# For eg: