Skip to content

Commit 412384f

Browse files
Merge pull request #93978 from shdeshpa07/OADP-4001-Self-Service-topic-map
OADP self-service uncomment topic map entries
2 parents 1d85b4e + 678ffc5 commit 412384f

9 files changed

+52
-44
lines changed

_topic_maps/_topic_map.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3741,17 +3741,17 @@ Topics:
37413741
Topics:
37423742
- Name: Restoring applications
37433743
File: restoring-applications
3744-
#- Name: OADP Self-Service Note:Commenting out this block because the PR is huge and I would like to get the files merged. I will open a separate PR to un-comment this block on the date of GA.
3745-
# Dir: oadp-self-service
3746-
# Topics:
3747-
# - Name: OADP Self-Service
3748-
# File: oadp-self-service
3749-
# - Name: OADP Self-Service cluster admin use cases
3750-
# File: oadp-self-service-cluster-admin-use-cases
3751-
# - Name: OADP Self-Service namespace admin use cases
3752-
# File: oadp-self-service-namespace-admin-use-cases
3753-
# - Name: OADP Self-Service troubleshooting
3754-
# File: oadp-self-service-troubleshooting
3744+
- Name: OADP Self-Service
3745+
Dir: oadp-self-service
3746+
Topics:
3747+
- Name: OADP Self-Service
3748+
File: oadp-self-service
3749+
- Name: OADP Self-Service cluster admin use cases
3750+
File: oadp-self-service-cluster-admin-use-cases
3751+
- Name: OADP Self-Service namespace admin use cases
3752+
File: oadp-self-service-namespace-admin-use-cases
3753+
- Name: OADP Self-Service troubleshooting
3754+
File: oadp-self-service-troubleshooting
37553755
- Name: OADP and ROSA
37563756
Dir: oadp-rosa
37573757
Topics:

backup_and_restore/application_backup_and_restore/oadp-self-service/oadp-self-service.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ toc::[]
1010

1111
include::modules/oadp-self-service-overview.adoc[leveloffset=+1]
1212

13+
include::modules/oadp-self-service-namespace-scoped.adoc[leveloffset=+1]
14+
1315
[role="_additional-resources"]
1416
.Additional resources
1517

modules/oadp-self-service-about-nabsl.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You can create a NABSL CR by using one of the following workflows:
1919
** If approved, a `Velero` `BackupStorageLocation` (BSL) is created in the `openshift-adp` namespace, and the NABSL CR status is updated to reflect the approval.
2020
** If rejected, the status of the NABSL CR is updated to reflect the rejection.
2121
.. The cluster administrator can also revoke a previously approved NABSL CR. The `approve` field is set back to `pending` or `reject`. This results in the deletion of the `Velero` BSL, and the namespace admin user is notified of the rejection.
22-
* *Automatic approval workflow*: In this workflow, the cluster administrator has not enforced an approval process for the NABSL CR by setting the `nonAdmin.requireApprovalForBSL` field in the DPA to `false`. The default value of this field is `false`. Not setting the field results in an automatic approval of the NABSL. Therefore, the namespace admin user can create the NABSL CR from their authorized namespace.
22+
* *Automatic approval workflow*: In this workflow, the cluster administrator does not enforce an approval process for the NABSL CR by setting the `nonAdmin.requireApprovalForBSL` field in the DPA to `false`. The default value of this field is `false`. Not setting the field results in an automatic approval of the NABSL. Therefore, the namespace admin user can create the NABSL CR from their authorized namespace.
2323
2424
[IMPORTANT]
2525
====

modules/oadp-self-service-nab-nar-logs.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="oadp-self-service-nab-nar-logs_{context}"]
77
= Reviewing NAB and NAR logs
88

9-
As a namespace admin user, you can review the logs for the NAB and NAR custom resources (CRs) by creating a `NonAdminDownloadRequest` (NADR) CR.
9+
As a namespace admin user, you can review the logs for the `NonAdminBackup` (NAB) and `NonAdminRestore` (NAR) custom resources (CRs) by creating a `NonAdminDownloadRequest` (NADR) CR.
1010

1111
[NOTE]
1212
====
@@ -19,8 +19,8 @@ You can review the NAB logs only if you are using a `NonAdminBackupStorageLocati
1919
* The cluster administrator has installed the {oadp-short} Operator.
2020
* The cluster administrator has configured the `DataProtectionApplication` (DPA) CR to enable {oadp-short} Self-Service.
2121
* The cluster administrator has created a namespace for you and has authorized you to operate from that namespace.
22-
* You have a backup of your application by creating a `NonAdminBackup` (NAB) CR.
23-
* You have restored the application by creating a `NonAdminRestore` (NAR) CR.
22+
* You have a backup of your application by creating a NAB CR.
23+
* You have restored the application by creating a NAR CR.
2424
2525
.Procedure
2626

modules/oadp-self-service-namespace-permissions.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ A cluster administrator can also define their own specifications so that users c
2020
[id="oadp-self-service-yaml-backup-operation_{context}"]
2121
== Example RBAC YAML for backup operation
2222

23-
See the following RBAC YAML file example with namespace permissions for a namespace `admin` user to perform a backup operation.
23+
See the following role-based access control (RBAC) YAML file example with namespace permissions for a namespace `admin` user to perform a backup operation.
2424

25-
.Example RBAC
25+
.Example RBAC manifest
2626
[source,yaml]
2727
----
2828
...
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// Module included in the following assemblies:
2+
//
3+
// backup_and_restore/application_backup_and_restore/oadp-self-service/oadp-self-service.adoc
4+
5+
:_mod-docs-content-type: CONCEPT
6+
[id="oadp-self-service-overview-namespace-scope_{context}"]
7+
= What namespace-scoped backup and restore means
8+
9+
{oadp-short} Self-Service ensures that namespace admin users can only operate within their authorized namespace. For example, if you do not have access to a namespace, as a namespace admin user, you cannot back up that namespace.
10+
11+
A namespace admin user cannot access backup and restore data of other users.
12+
13+
The cluster administrator enforces the access control through custom resources (CRs) that securely manage the backup and restore operations.
14+
15+
Additionally, the cluster administrator can control the allowed options within the CRs, restricting certain operations for added security by using `spec` enforcements in the `DataProtectionApplication` (DPA) CR.
16+
17+
Namespace `admin` users can perform the following Self-Service operations:
18+
19+
* Create and manage backups of their authorized namespaces.
20+
* Restore data to their authorized namespaces.
21+
* Configure their own backup storage locations.
22+
* Check backup and restore status.
23+
* Request retrieval of relevant logs.

modules/oadp-self-service-overview.adoc

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,4 @@ As a namespace admin user, you can back up and restore applications deployed in
2525
* As a namespace admin user:
2626
** You can create backup and restore custom resources for your authorized namespace.
2727
** You can create dedicated backup storage locations in your authorized namespace.
28-
** You have secure access to backup logs and status information.
29-
30-
[id="oadp-self-service-overview-namespace-scope_{context}"]
31-
= What namespace-scoped backup and restore means
32-
33-
{oadp-short} Self-Service ensures that namespace admin users can only operate within their authorized namespace. For example, if you do not have access to a namespace, as a namespace admin user, you cannot back up that namespace.
34-
35-
A namespace admin user cannot access backup and restore data of other users.
36-
37-
The cluster administrator enforces the access control through custom resources (CRs) that securely manage the backup and restore operations.
38-
39-
Additionally, the cluster administrator can control the allowed options within the CRs, restricting certain operations for added security by using `spec` enforcements in the `DataProtectionApplication` (DPA) CR.
40-
41-
Namespace `admin` users can perform the following Self-Service operations:
42-
43-
* Create and manage backups of their authorized namespaces.
44-
* Restore data to their authorized namespaces.
45-
* Configure their own backup storage locations.
46-
* Check backup and restore status.
47-
* Request retrieval of relevant logs.
28+
** You have secure access to backup logs and status information.

modules/oadp-self-service-phases.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
[id="oadp-self-service-phases_{context}"]
77
= {oadp-short} Self-Service backup and restore phases
88

9-
The `status.phase` field of a `NonAdminBackup` (NAB) CR and a `NonAdminRestore` (NAR) CR provide an overview of the current state of the CRs. Review the values for the NAB and NAR phases in the following table.
9+
The `status.phase` field of a `NonAdminBackup` (NAB) custom resource (CR) and a `NonAdminRestore` (NAR) CR provide an overview of the current state of the CRs. Review the values for the NAB and NAR phases in the following table.
1010

1111
The phase of the CRs only progress forward. Once a phase transitions to the next phase, it cannot revert to a previous phase.
1212

1313
.Phases
1414
|===
1515
|*Value* |*Description*
16-
|New|A creation request of the NAB or NAR CR is accepted by the NAC, but it has not yet been validated by the NAC.
17-
|BackingOff|NAB or NAR CR is invalidated by the NAC CR because of an invalid `spec` of the NAB or NAR CR.
16+
|`New`|A creation request of the NAB or NAR CR is accepted by the NAC, but it has not yet been validated by the NAC.
17+
|`BackingOff`|NAB or NAR CR is invalidated by the NAC CR because of an invalid `spec` of the NAB or NAR CR.
1818

1919
The namespace admin user can update the NAB or NAR `spec` to comply with the policies set by the administrator. After the namespace admin user edits the CRs, the NAC reconciles the CR again.
20-
|Created|NAB or NAR CR is validated by the NAC, and the `Velero` backup or restore object is created.
21-
|Deletion|NAB or NAR CR is marked for deletion. The NAC deletes the corresponding `Velero` backup or restore object. When the `Velero` object is deleted, the NAB or NAR CR is also deleted.
20+
|`Created`|NAB or NAR CR is validated by the NAC, and the `Velero` backup or restore object is created.
21+
|`Deletion`|NAB or NAR CR is marked for deletion. The NAC deletes the corresponding `Velero` backup or restore object. When the `Velero` object is deleted, the NAB or NAR CR is also deleted.
2222
|===

modules/oadp-self-service-unsupported-features.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
:_mod-docs-content-type: CONCEPT
66
[id="oadp-self-service-unsupported-features_{context}"]
7-
= {oadp-short} Self-Service unsupported features
7+
= {oadp-short} Self-Service limitations
88

99
The following features are not supported by {oadp-short} Self-Service:
1010

@@ -14,7 +14,9 @@ The following features are not supported by {oadp-short} Self-Service:
1414
1515
* The `ResourceModifiers` CR and volume policies are not supported for a namespace `admin` user.
1616
17-
* A namespace `admin` user can request backup or restore logs by using the `NonAdminDownloadRequest` CR, only if the backup or restore is created by a user through the `NonAdminBackupStorageLocation` CR and not the cluster-wide default backup storage location.
17+
* A namespace `admin` user can request backup or restore logs by using the `NonAdminDownloadRequest` CR, only if the backup or restore is created by a user by using the `NonAdminBackupStorageLocation` CR.
18+
+
19+
If the backup or restore CRs are created by using the cluster-wide default backup storage location, a namespace `admin` user cannot request the backup or restore logs.
1820
1921
* To ensure secure backup and restore, {oadp-short} Self-Service automatically excludes the following CRs from being backed up or restored:
2022

0 commit comments

Comments
 (0)