Skip to content

Commit e02adc0

Browse files
authored
Merge pull request #40812 from apinnick/oadp206-bsl-vsl-credentials
OADP-206: BSL and VSL secrets
2 parents 2a3b2ce + f066f89 commit e02adc0

28 files changed

+572
-461
lines changed

_topic_maps/_topic_map.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,30 +2095,26 @@ Topics:
20952095
File: graceful-cluster-shutdown
20962096
- Name: Restarting a cluster gracefully
20972097
File: graceful-cluster-restart
2098-
# OADP features/plugins is not commented out because commenting it out causes a build fail.
2099-
# Cause: Travis tries to validate commented out xref to OADP features in index file.
21002098
# - Name: Application backup and restore
21012099
# Dir: application_backup_and_restore
21022100
# Topics:
21032101
# - Name: OADP features and plugins
21042102
# File: oadp-features-plugins
2105-
# - Name: Installing OADP
2103+
# - Name: Installing and configuring OADP
21062104
# Dir: installing
21072105
# Topics:
21082106
# - Name: About installing OADP
21092107
# File: about-installing-oadp
2110-
# - Name: Installing OADP with AWS
2108+
# - Name: Installing and configuring OADP with AWS
21112109
# File: installing-oadp-aws
2112-
# - Name: Installing OADP with Azure
2110+
# - Name: Installing and configuring OADP with Azure
21132111
# File: installing-oadp-azure
2114-
# - Name: Installing OADP with GCP
2112+
# - Name: Installing and configuring OADP with GCP
21152113
# File: installing-oadp-gcp
2116-
# - Name: Installing OADP with MCG
2114+
# - Name: Installing and configuring OADP with MCG
21172115
# File: installing-oadp-mcg
2118-
# - Name: Installing OADP with OCS
2116+
# - Name: Installing and configuring OADP with OCS
21192117
# File: installing-oadp-ocs
2120-
# - Name: Configuring OADP
2121-
# File: configuring-oadp
21222118
# - Name: Backing up and restoring
21232119
# Dir: backing_up_and_restoring
21242120
# Topics:

backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,23 @@ include::modules/common-attributes.adoc[]
55

66
toc::[]
77

8-
You back up applications by creating a xref:../../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc#oadp-creating-backup-cr_backing-up-applications[`Backup` custom resource (CR)].
8+
You back up applications by creating a xref:../../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc#oadp-creating-backup-cr_backing-up-applications[`Backup`] custom resource (CR).
99

10-
The `Backup` CR creates backup files for Kubernetes resources and internal images, on S3 object storage, and snapshots for persistent volumes (PVs), if the cloud provider uses a native snapshot API or the xref:../../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc#oadp-backing-up-pvs-csi_backing-up-applications[Container Snapshot Interface (CSI)] to create snapshots, such as OpenShift Container Storage 4. For more information, see xref:../../../storage/container_storage_interface/persistent-storage-csi-snapshots.adoc#persistent-storage-csi-snapshots[CSI volume snapshots].
10+
The `Backup` CR backs up Kubernetes resources and internal images by saving them as an archive file on S3 object storage.
1111

12-
:FeatureName: The CloudStorage API for S3 storage
12+
:FeatureName: The `CloudStorage` API for S3 storage
1313
include::modules/technology-preview.adoc[]
1414

15+
If your cloud provider has a native snapshot API or supports xref:../../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc#oadp-backing-up-pvs-csi_backing-up-applications[Container Storage Interface (CSI) snapshots], the `Backup` CR backs up persistent volumes by creating snapshots. For more information, see the xref:../../../storage/container_storage_interface/persistent-storage-csi-snapshots.adoc#persistent-storage-csi-snapshots-overview_persistent-storage-csi-snapshots[Overview of CSI volume snapshots] in the {product-title} documentation.
16+
17+
If your cloud provider does not support snapshots or if your applications are on NFS data volumes, you can create backups by using xref:../../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc#oadp-backing-up-applications-restic_backing-up-applications[Restic].
18+
1519
You can create xref:../../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc#oadp-creating-backup-hooks_backing-up-applications[backup hooks] to run commands before or after the backup operation.
1620

1721
You can schedule backups by creating a xref:../../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc#oadp-scheduling-backups_backing-up-applications[`Schedule` CR] instead of a `Backup` CR.
1822

19-
If your cloud provider does not support snapshots or if your applications run on NFS data volumes, you can back up applications by using xref:../../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc#oadp-backing-up-applications-restic_backing-up-applications[Restic].
20-
2123
include::modules/oadp-creating-backup-cr.adoc[leveloffset=+1]
2224
include::modules/oadp-backing-up-pvs-csi.adoc[leveloffset=+1]
25+
include::modules/oadp-backing-up-applications-restic.adoc[leveloffset=+1]
2326
include::modules/oadp-creating-backup-hooks.adoc[leveloffset=+1]
2427
include::modules/oadp-scheduling-backups.adoc[leveloffset=+1]
25-
include::modules/oadp-backing-up-applications-restic.adoc[leveloffset=+1]

backup_and_restore/application_backup_and_restore/configuring-oadp.adoc

Lines changed: 0 additions & 11 deletions
This file was deleted.

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,33 @@ include::modules/common-attributes.adoc[]
55

66
toc::[]
77

8-
As a cluster administrator, you install the Openshift API for Data Protection (OADP) by installing the OADP Operator and then installing the Data Protection Application. The OADP Operator installs link:https://velero.io/docs/v1.7/[Velero 1.7].
8+
As a cluster administrator, you install the Openshift API for Data Protection (OADP) by installing the OADP Operator. The OADP Operator installs link:https://velero.io/docs/v1.7/[Velero 1.7].
99

10-
To back up Kubernetes resources and internal images, you must have S3-compatible object storage, such as the following storage providers:
10+
To back up Kubernetes resources and internal images, you must have object storage as a backup location, such as one of the following storage types:
1111

1212
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-aws.adoc#installing-oadp-aws[Amazon Web Services]
1313
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-azure.adoc#installing-oadp-azure[Microsoft Azure]
1414
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-gcp.adoc#installing-oadp-gcp[Google Cloud Platform]
1515
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-mcg.adoc#installing-oadp-mcg[Multicloud Object Gateway]
16+
* S3-compatible object storage, such as Noobaa or Minio
1617

17-
:FeatureName: The CloudStorage API for S3 storage
18+
:FeatureName: The `CloudStorage` API for S3 storage
1819
include::modules/technology-preview.adoc[]
1920

20-
To back up persistent volumes (PVs) with snapshots, your cloud provider must support either a native snapshot API or Container Snapshot Interface (CSI) snapshots, such as the following providers:
21+
You can back up persistent volumes (PVs) by using snapshots or Restic.
22+
23+
To back up PVs with snapshots, you must have a cloud provider that supports either a native snapshot API or Container Storage Interface (CSI) snapshots, such as one of the following cloud providers:
2124

2225
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-aws.adoc#installing-oadp-aws[Amazon Web Services]
2326
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-azure.adoc#installing-oadp-azure[Microsoft Azure]
2427
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-gcp.adoc#installing-oadp-gcp[Google Cloud Platform]
25-
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-ocs.adoc#oadp-about-vsl_installing-oadp-ocs[Ceph RBD or Ceph FS storage]
28+
* CSI snapshot-enabled cloud provider, such as xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-ocs.adoc#installing-oadp-ocs[OpenShift Container Storage]
29+
30+
If your cloud provider does not support snapshots or if your storage is NFS, you can back up applications with xref:../../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc#oadp-backing-up-applications-restic_backing-up-applications[Restic].
2631

27-
If your cloud provider does not support snapshots or if your storage is NFS, you can create backups with link:https://restic.net/[Restic].
32+
You create a `Secret` object for your storage provider credentials and then you install the Data Protection Application.
2833

2934
[discrete]
3035
== Additional resources
3136

32-
* Overview of backup storage locations and volume snapshot locations in the link:https://velero.io/docs/v1.7/locations/[Velero documentation]
37+
* Overview of backup locations and snapshot locations in the link:https://velero.io/docs/v1.7/locations/[Velero documentation].
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[id="installing-oadp-aws"]
2-
= Installing the Openshift API for Data Protection with Amazon Web Services
2+
= Installing and configuring the Openshift API for Data Protection with Amazon Web Services
33
include::modules/common-attributes.adoc[]
44
:context: installing-oadp-aws
55
:installing-oadp-aws:
@@ -10,23 +10,26 @@ toc::[]
1010

1111
You install the Openshift API for Data Protection (OADP) with Amazon Web Services (AWS) by installing the OADP Operator, configuring AWS for Velero, and then installing the Data Protection Application.
1212

13-
:FeatureName: The CloudStorage API for S3 storage
13+
:FeatureName: The `CloudStorage` API for S3 storage
1414
include::modules/technology-preview.adoc[]
1515

1616
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.
1717

18-
If you are not using snapshots or if your storage is NFS, you can create backups with link:https://restic.net/[Restic].
19-
2018
include::modules/oadp-installing-operator.adoc[leveloffset=+1]
2119
include::modules/migration-configuring-aws-s3.adoc[leveloffset=+1]
2220

21+
include::modules/oadp-creating-secret.adoc[leveloffset=+1]
22+
include::modules/oadp-secrets-for-different-credentials.adoc[leveloffset=+2]
23+
2324
[id="configuring-dpa-aws"]
2425
== Configuring the Data Protection Application
2526

26-
include::modules/oadp-configuring-default-plug-ins.adoc[leveloffset=+2]
27-
include::modules/oadp-about-bsl.adoc[leveloffset=+2]
28-
include::modules/oadp-about-vsl.adoc[leveloffset=+2]
27+
You can configure Velero resource allocations and enable self-signed CA certificates.
28+
29+
include::modules/oadp-setting-resource-limits-and-requests.adoc[leveloffset=+2]
30+
include::modules/oadp-self-signed-certificate.adoc[leveloffset=+2]
2931

3032
include::modules/oadp-installing-dpa.adoc[leveloffset=+1]
33+
include::modules/oadp-enabling-csi-dpa.adoc[leveloffset=+2]
3134

3235
:installing-oadp-aws!:
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[id="installing-oadp-azure"]
2-
= Installing the Openshift API for Data Protection with Azure
2+
= Installing and configuring the Openshift API for Data Protection with Microsoft Azure
33
include::modules/common-attributes.adoc[]
44
:context: installing-oadp-azure
55
:installing-oadp-azure:
@@ -10,23 +10,26 @@ toc::[]
1010

1111
You install the Openshift API for Data Protection (OADP) with Microsoft Azure by installing the OADP Operator, configuring Azure for Velero, and then installing the Data Protection Application.
1212

13-
:FeatureName: The CloudStorage API for S3 storage
13+
:FeatureName: The `CloudStorage` API for S3 storage
1414
include::modules/technology-preview.adoc[]
1515

1616
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.
1717

18-
If you are not using snapshots or if your storage is NFS, you can create backups with link:https://restic.net/[Restic].
19-
2018
include::modules/oadp-installing-operator.adoc[leveloffset=+1]
2119
include::modules/migration-configuring-azure.adoc[leveloffset=+1]
2220

21+
include::modules/oadp-creating-secret.adoc[leveloffset=+1]
22+
include::modules/oadp-secrets-for-different-credentials.adoc[leveloffset=+2]
23+
2324
[id="configuring-dpa-azure"]
2425
== Configuring the Data Protection Application
2526

26-
include::modules/oadp-configuring-default-plug-ins.adoc[leveloffset=+2]
27-
include::modules/oadp-about-bsl.adoc[leveloffset=+2]
28-
include::modules/oadp-about-vsl.adoc[leveloffset=+2]
27+
You can configure Velero resource allocations and enable self-signed CA certificates.
28+
29+
include::modules/oadp-setting-resource-limits-and-requests.adoc[leveloffset=+2]
30+
include::modules/oadp-self-signed-certificate.adoc[leveloffset=+2]
2931

3032
include::modules/oadp-installing-dpa.adoc[leveloffset=+1]
33+
include::modules/oadp-enabling-csi-dpa.adoc[leveloffset=+2]
3134

3235
:installing-oadp-azure!:
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[id="installing-oadp-gcp"]
2-
= Installing the Openshift API for Data Protection with Google Cloud Platform
2+
= Installing and configuring the Openshift API for Data Protection with Google Cloud Platform
33
include::modules/common-attributes.adoc[]
44
:context: installing-oadp-gcp
55
:installing-oadp-gcp:
@@ -10,23 +10,26 @@ toc::[]
1010

1111
You install the Openshift API for Data Protection (OADP) with Google Cloud Platform (GCP) by installing the OADP Operator, configuring GCP for Velero, and then installing the Data Protection Application.
1212

13-
:FeatureName: The CloudStorage API for S3 storage
13+
:FeatureName: The `CloudStorage` API for S3 storage
1414
include::modules/technology-preview.adoc[]
1515

1616
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.
1717

18-
If you are not using snapshots or if your storage is NFS, you can create backups with link:https://restic.net/[Restic].
19-
2018
include::modules/oadp-installing-operator.adoc[leveloffset=+1]
2119
include::modules/migration-configuring-gcp.adoc[leveloffset=+1]
2220

21+
include::modules/oadp-creating-secret.adoc[leveloffset=+1]
22+
include::modules/oadp-secrets-for-different-credentials.adoc[leveloffset=+2]
23+
2324
[id="configuring-dpa-gcp"]
2425
== Configuring the Data Protection Application
2526

26-
include::modules/oadp-configuring-default-plug-ins.adoc[leveloffset=+2]
27-
include::modules/oadp-about-bsl.adoc[leveloffset=+2]
28-
include::modules/oadp-about-vsl.adoc[leveloffset=+2]
27+
You can configure Velero resource allocations and enable self-signed CA certificates.
28+
29+
include::modules/oadp-setting-resource-limits-and-requests.adoc[leveloffset=+2]
30+
include::modules/oadp-self-signed-certificate.adoc[leveloffset=+2]
2931

3032
include::modules/oadp-installing-dpa.adoc[leveloffset=+1]
33+
include::modules/oadp-enabling-csi-dpa.adoc[leveloffset=+2]
3134

3235
:installing-oadp-gcp!:
Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[id="installing-oadp-mcg"]
2-
= Installing the Openshift API for Data Protection with Google Cloud Platform
2+
= Installing and configuring the Openshift API for Data Protection with Google Cloud Platform
33
include::modules/common-attributes.adoc[]
44
:context: installing-oadp-mcg
55
:installing-oadp-mcg:
@@ -8,23 +8,34 @@ include::modules/common-attributes.adoc[]
88

99
toc::[]
1010

11-
You install the Openshift API for Data Protection (OADP) with Multicloud Object Gateway (MCG) by installing the OADP Operator, retrieving the MCG credentials, and then installing the Data Protection Application.
11+
You install the Openshift API for Data Protection (OADP) with Multicloud Object Gateway (MCG) by installing the OADP Operator, creating a `Secret` object, and then installing the Data Protection Application.
1212

13-
MCG is a component of OpenShift Container Storage (OCS). You can configure MCG as a backup location.
13+
MCG is a component of OpenShift Container Storage (OCS). You configure MCG as a backup location in the `DataProtectionApplication` custom resource (CR).
1414

15-
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.
15+
:FeatureName: The `CloudStorage` API for S3 storage
16+
include::modules/technology-preview.adoc[]
1617

17-
If you are not using snapshots or if your storage is NFS, you can create backups with link:https://restic.net/[Restic].
18+
If your cloud provider has a native snapshot API, configure a snapshot location. If your cloud provider does not support snapshots or if your storage is NFS, you can create backups with Restic.
19+
20+
You do not need to specify a snapshot location in the `DataProtectionApplication` CR for Restic or Container Storage Interface (CSI) snapshots.
21+
22+
To install the OADP Operator in a restricted network environment, you must first disable the default OperatorHub sources and mirror the Operator catalog. For details, see xref:../../../operators/admin/olm-restricted-networks.adoc#olm-restricted-networks[Using Operator Lifecycle Manager on restricted networks].
1823

1924
include::modules/oadp-installing-operator.adoc[leveloffset=+1]
2025
include::modules/migration-configuring-mcg.adoc[leveloffset=+1]
2126

27+
include::modules/oadp-creating-secret.adoc[leveloffset=+1]
28+
include::modules/oadp-secrets-for-different-credentials.adoc[leveloffset=+2]
29+
2230
[id="configuring-dpa-mcg"]
2331
== Configuring the Data Protection Application
2432

25-
include::modules/oadp-configuring-default-plug-ins.adoc[leveloffset=+2]
26-
include::modules/oadp-about-bsl.adoc[leveloffset=+2]
33+
You can configure Velero resource allocations and enable self-signed CA certificates.
34+
35+
include::modules/oadp-setting-resource-limits-and-requests.adoc[leveloffset=+2]
36+
include::modules/oadp-self-signed-certificate.adoc[leveloffset=+2]
2737

2838
include::modules/oadp-installing-dpa.adoc[leveloffset=+1]
39+
include::modules/oadp-enabling-csi-dpa.adoc[leveloffset=+2]
2940

3041
:installing-oadp-mcg!:

0 commit comments

Comments
 (0)