Skip to content

Commit 2d264e8

Browse files
committed
OADP-2133: volumeOptionsforStorageClasses-is meant for use with Ceph
Signed-off-by: A.Arnold <anarnold@redhat.com>
1 parent 94988f0 commit 2d264e8

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

modules/oadp-ceph-cephfs-back-up-dba.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ spec:
5858
provider: aws
5959
configuration:
6060
restic:
61-
enable: false <1>
61+
enable: false # <1>
6262
velero:
6363
defaultPlugins:
6464
- openshift
@@ -67,9 +67,9 @@ spec:
6767
- vsm
6868
features:
6969
dataMover:
70-
credentialName: <restic_secret_name> <2>
71-
enable: true <3>
72-
volumeOptionsForStorageClasses:
70+
credentialName: <restic_secret_name> # <2>
71+
enable: true # <3>
72+
volumeOptionsForStorageClasses: # <4>
7373
ocs-storagecluster-cephfs:
7474
sourceVolumeOptions:
7575
accessMode: ReadOnlyMany
@@ -80,3 +80,4 @@ spec:
8080
<1> There is no default value for the `enable` field. Valid values are `true` or `false`.
8181
<2> Use the Restic `Secret` that you created when you prepared your environment for working with OADP 1.2 Data Mover and Ceph. If you do not use your Restic `Secret`, the CR uses the default value `dm-credential` for this parameter.
8282
<3> There is no default value for the `enable` field. Valid values are `true` or `false`.
83+
<4> Optional parameter. You can define a different set of `VolumeOptionsForStorageClass` labels for each `storageClass` volume. This configuration provides a backup for volumes with different providers. The optional `VolumeOptionsForStorageClass` parameter is typically used with CephFS but can be used for any storage type.

modules/oadp-ceph-split-back-up-dba.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ spec:
4646
- vsm
4747
features:
4848
dataMover:
49-
credentialName: <restic_secret_name> <1>
49+
credentialName: <restic_secret_name> # <1>
5050
enable: true
51-
volumeOptionsForStorageClasses: <2>
51+
volumeOptionsForStorageClasses: # <2>
5252
ocs-storagecluster-cephfs:
5353
sourceVolumeOptions:
5454
accessMode: ReadOnlyMany
@@ -59,9 +59,9 @@ spec:
5959
sourceVolumeOptions:
6060
storageClassName: ocs-storagecluster-ceph-rbd
6161
cacheStorageClassName: ocs-storagecluster-ceph-rbd
62-
destinationVolumeOptions:
62+
destinationVolumeOptions:
6363
storageClassName: ocs-storagecluster-ceph-rbd
6464
cacheStorageClassName: ocs-storagecluster-ceph-rbd
6565
----
6666
<1> Use the Restic `Secret` that you created when you prepared your environment for working with OADP 1.2 Data Mover and Ceph. If you do not, then the CR will use the default value `dm-credential` for this parameter.
67-
<2> A different set of `VolumeOptionsForStorageClass` labels can be defined for each `storageClass` volume, thus allowing a backup to volumes with different providers.
67+
<2> A different set of `VolumeOptionsForStorageClass` labels can be defined for each `storageClass` volume, thus allowing a backup to volumes with different providers. The `VolumeOptionsForStorageClass` parameter is meant for use with CephFS. However, the optional `VolumeOptionsForStorageClass` parameter could be used for any storage type.

0 commit comments

Comments
 (0)