Skip to content

Commit f62bd2b

Browse files
authored
Merge pull request #73981 from anarnold97/OADP-3788-Add-IBM-Cloud-S3-support
2 parents d59d932 + 231cbda commit f62bd2b

File tree

7 files changed

+31
-17
lines changed

7 files changed

+31
-17
lines changed

_topic_maps/_topic_map.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3047,7 +3047,7 @@ Topics:
30473047
File: about-installing-oadp
30483048
- Name: Installing the OADP Operator
30493049
File: oadp-installing-operator
3050-
- Name: Configuring OADP with AWS
3050+
- Name: Configuring OADP with AWS S3 compatible storage
30513051
File: installing-oadp-aws
30523052
- Name: Configuring OADP with Azure
30533053
File: installing-oadp-azure

backup_and_restore/application_backup_and_restore/installing/about-installing-oadp.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ To back up Kubernetes resources and internal images, you must have object storag
1616
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-azure.adoc#installing-oadp-azure[Microsoft Azure]
1717
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-gcp.adoc#installing-oadp-gcp[Google Cloud Platform]
1818
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-mcg.adoc#installing-oadp-mcg[Multicloud Object Gateway]
19+
* {ibm-cloud-name} Object Storage S3
1920
* AWS S3 compatible object storage, such as Multicloud Object Gateway or MinIO
2021
2122
You can configure multiple backup storage locations within the same namespace for each individual OADP deployment.
@@ -66,4 +67,4 @@ include::modules/about-installing-oadp-on-multiple-namespaces.adoc[leveloffset=+
6667
* xref:../../../operators/understanding/olm/olm-understanding-olm.adoc#olm-csv_olm-understanding-olm[Cluster service version]
6768
6869
include::modules/oadp-velero-cpu-memory-requirements.adoc[leveloffset=+1]
69-
include::modules/oadp-backup-restore-for-large-usage.adoc[leveloffset=+2]
70+
include::modules/oadp-backup-restore-for-large-usage.adoc[leveloffset=+2]

backup_and_restore/application_backup_and_restore/installing/installing-oadp-aws.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:_mod-docs-content-type: ASSEMBLY
22
[id="installing-oadp-aws"]
3-
= Configuring the OpenShift API for Data Protection with Amazon Web Services
3+
= Configuring the OpenShift API for Data Protection with AWS S3 compatible storage
44
include::_attributes/common-attributes.adoc[]
55
:context: installing-oadp-aws
66
:installing-oadp-aws:
@@ -9,14 +9,17 @@ include::_attributes/common-attributes.adoc[]
99

1010
toc::[]
1111

12-
You install the OpenShift API for Data Protection (OADP) with Amazon Web Services (AWS) by installing the OADP Operator. The Operator installs link:https://{velero-domain}/docs/v{velero-version}/[Velero {velero-version}].
12+
You install the OpenShift API for Data Protection (OADP) with Amazon Web Services (AWS) S3 compatible storage by installing the OADP Operator. The Operator installs link:https://{velero-domain}/docs/v{velero-version}/[Velero {velero-version}].
13+
14+
{ibm-cloud-name} S3 is supported as an AWS S3 compatible backup storage provider.
1315

1416
include::snippets/oadp-mtc-operator.adoc[]
1517

1618
You configure AWS for Velero, create a default `Secret`, and then install the Data Protection Application. For more details, see xref:../../..//backup_and_restore/application_backup_and_restore/installing/oadp-installing-operator.adoc#oadp-installing-operator-doc[Installing the OADP Operator].
1719

1820
To install the OADP Operator in a restricted network environment, you must first disable the default OperatorHub sources and mirror the Operator catalog. See xref:../../../operators/admin/olm-restricted-networks.adoc#olm-restricted-networks[Using Operator Lifecycle Manager on restricted networks] for details.
1921

22+
2023
//include::modules/oadp-installing-operator.adoc[leveloffset=+1]
2124
include::modules/migration-configuring-aws-s3.adoc[leveloffset=+1]
2225
include::modules/oadp-about-backup-snapshot-locations-secrets.adoc[leveloffset=+1]

backup_and_restore/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ OADP has the following requirements:
5353
** Microsoft Azure
5454
** Google Cloud Platform
5555
** S3-compatible object storage
56+
** {ibm-cloud-name} Object Storage S3
5657

5758
include::snippets/oadp-ocp-compat.adoc[]
5859

modules/oadp-installing-dpa-1-2-and-earlier.adoc

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,16 @@ spec:
7979
config:
8080
region: <region>
8181
profile: "default"
82+
s3ForcePathStyle: "true" <7>
83+
s3Url: <s3_url> <8>
8284
credential:
8385
key: cloud
84-
name: {credentials} <7>
85-
snapshotLocations: <8>
86+
name: {credentials} <9>
87+
snapshotLocations: <10>
8688
- velero:
8789
provider: {provider}
8890
config:
89-
region: <region> <9>
91+
region: <region> <11>
9092
profile: "default"
9193
----
9294
<1> The `openshift` plugin is mandatory.
@@ -95,9 +97,11 @@ spec:
9597
<4> Specify on which nodes Restic is available. By default, Restic runs on all nodes.
9698
<5> Specify a bucket as the backup storage location. If the bucket is not a dedicated bucket for Velero backups, you must specify a prefix.
9799
<6> Specify a prefix for Velero backups, for example, `velero`, if the bucket is used for multiple purposes.
98-
<7> Specify the name of the `Secret` object that you created. If you do not specify this value, the default name, `{credentials}`, is used. If you specify a custom name, the custom name is used for the backup location.
99-
<8> Specify a snapshot location, unless you use CSI snapshots or Restic to back up PVs.
100-
<9> The snapshot location must be in the same region as the PVs.
100+
<7> Specify whether to force path style URLs for S3 objects (Boolean). Not Required for AWS S3. Required only for S3 compatible storage.
101+
<8> Specify the URL of the object store that you are using to store backups. Not required for AWS S3. Required only for S3 compatible storage.
102+
<9> Specify the name of the `Secret` object that you created. If you do not specify this value, the default name, `{credentials}`, is used. If you specify a custom name, the custom name is used for the backup location.
103+
<10> Specify a snapshot location, unless you use CSI snapshots or Restic to back up PVs.
104+
<11> The snapshot location must be in the same region as the PVs.
101105
endif::[]
102106
ifdef::installing-oadp-azure[]
103107
+

modules/oadp-installing-dpa-1-3.adoc

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,17 @@ spec:
7474
config:
7575
region: <region>
7676
profile: "default"
77+
s3ForcePathStyle: "true" <10>
78+
s3Url: <s3_url> <11>
7779
credential:
7880
key: cloud
79-
name: {credentials} <10>
80-
snapshotLocations: <11>
81+
name: {credentials} <12>
82+
snapshotLocations: <13>
8183
- name: default
8284
velero:
8385
provider: {provider}
8486
config:
85-
region: <region> <12>
87+
region: <region> <14>
8688
profile: "default"
8789
----
8890
<1> The default namespace for OADP is `openshift-adp`. The namespace is a variable and is configurable.
@@ -94,9 +96,11 @@ spec:
9496
<7> Specify the nodes on which Kopia or Restic are available. By default, Kopia or Restic run on all nodes.
9597
<8> Specify a bucket as the backup storage location. If the bucket is not a dedicated bucket for Velero backups, you must specify a prefix.
9698
<9> Specify a prefix for Velero backups, for example, `velero`, if the bucket is used for multiple purposes.
97-
<10> Specify the name of the `Secret` object that you created. If you do not specify this value, the default name, `{credentials}`, is used. If you specify a custom name, the custom name is used for the backup location.
98-
<11> Specify a snapshot location, unless you use CSI snapshots or a File System Backup (FSB) to back up PVs.
99-
<12> The snapshot location must be in the same region as the PVs.
99+
<10> Specify whether to force path style URLs for S3 objects (Boolean). Not Required for AWS S3. Required only for S3 compatible storage.
100+
<11> Specify the URL of the object store that you are using to store backups. Not required for AWS S3. Required only for S3 compatible storage.
101+
<12> Specify the name of the `Secret` object that you created. If you do not specify this value, the default name, `{credentials}`, is used. If you specify a custom name, the custom name is used for the backup location.
102+
<13> Specify a snapshot location, unless you use CSI snapshots or a File System Backup (FSB) to back up PVs.
103+
<14> The snapshot location must be in the same region as the PVs.
100104
endif::[]
101105

102106
ifdef::installing-oadp-azure[]

modules/oadp-s3-compatible-backup-storage-providers.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Module included in the following assemblies:
22
//
33
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-ocs.adoc
4+
// * backup_and_restore/application_backup_and_restore/installing/about-installing-oadp.adoc
45

56
:_mod-docs-content-type: CONCEPT
67
[id="oadp-s3-compatible-backup-storage-providers_{context}"]
@@ -16,6 +17,7 @@ The following AWS S3 compatible object storage providers are fully supported by
1617
* MinIO
1718
* Multicloud Object Gateway (MCG)
1819
* Amazon Web Services (AWS) S3
20+
* {ibm-cloud-name} Object Storage S3
1921

2022
[NOTE]
2123
====
@@ -30,7 +32,6 @@ The following compatible object storage providers are supported and have their o
3032

3133
The following AWS S3 compatible object storage providers, are known to work with Velero through the AWS plugin, for use as backup storage locations, however, they are unsupported and have not been tested by Red Hat:
3234

33-
* {ibm-cloud-name}
3435
* Oracle Cloud
3536
* DigitalOcean
3637
* NooBaa, unless installed using Multicloud Object Gateway (MCG)

0 commit comments

Comments
 (0)