doc: Add prefix for naming subvolumes and snapshots

Updated storageclass and snapshotclass
to include the name prefix for naming
subvolumes and snapshots.

Fixes: #1087

Signed-off-by: Yug Gupta <ygupta@redhat.com>
This commit is contained in:
Yug Gupta
2020-05-22 10:38:55 +05:30
committed by mergify[bot]
parent c2d4200bd8
commit 6cf7389d97
5 changed files with 15 additions and 2 deletions

View File

@ -41,6 +41,11 @@ parameters:
# If omitted, default volume mounter will be used - this is
# determined by probing for ceph-fuse and mount.ceph
# mounter: kernel
# (optional) Prefix to use for naming subvolumes.
# If omitted, defaults to "csi-vol-".
# volumeNamePrefix: "foo-bar-"
reclaimPolicy: Delete
allowVolumeExpansion: true
mountOptions:

View File

@ -14,6 +14,10 @@ parameters:
# represent the Ceph cluster in clusterID below
clusterID: <cluster-id>
# Prefix to use for naming RBD snapshots.
# If omitted, defaults to "csi-snap-".
# snapshotNamePrefix: "foo-bar-"
csi.storage.k8s.io/snapshotter-secret-name: csi-rbd-secret
csi.storage.k8s.io/snapshotter-secret-namespace: default
deletionPolicy: Delete

View File

@ -43,6 +43,10 @@ parameters:
# uncomment the following to use rbd-nbd as mounter on supported nodes
# mounter: rbd-nbd
# Prefix to use for naming RBD images.
# If omitted, defaults to "csi-vol-".
# volumeNamePrefix: "foo-bar-"
# Instruct the plugin it has to encrypt the volume
# By default it is disabled. Valid values are "true" or "false".
# A string is expected here, i.e. "true", not true.