@@ -12,14 +12,36 @@ it with a MinIO backend. For MinIO deployment, see
1212- MinIO service account credentials (Access Key and Secret Key)
1313- ` oc ` CLI tool installed and configured
1414
15- ## Quick Start (Ansible Playbook)
15+ ## Quick Start (ci-framework)
16+
17+ OADP is installed automatically as part of the dependency installation
18+ step in the
19+ [ ci-framework] ( https://github.com/openstack-k8s-operators/ci-framework )
20+ backup/restore playbook (after MinIO):
1621
1722``` bash
18- ansible-playbook docs/dev/backup-restore/oadp/setup-oadp.yaml \
19- -e minio_access_key_id=< ACCESS_KEY_ID> \
20- -e minio_secret_access_key=< SECRET_ACCESS_KEY>
23+ ansible-playbook playbooks/backup_restore.yaml \
24+ -e cifmw_backup_restore_install_deps=true \
25+ -e cifmw_backup_restore_run_backup=false \
26+ -e cifmw_backup_restore_run_cleanup=false \
27+ -e cifmw_backup_restore_run_restore=false
2128```
2229
30+ Configurable variables (see ` roles/openshift_adp/defaults/main.yml ` ):
31+
32+ | Variable | Default | Description |
33+ | ----------| ---------| -------------|
34+ | ` cifmw_openshift_adp_namespace ` | ` openshift-adp ` | OADP namespace |
35+ | ` cifmw_openshift_adp_channel ` | ` stable ` | OLM subscription channel |
36+ | ` cifmw_openshift_adp_enable_node_agent ` | ` true ` | Enable Kopia node agent (Data Mover) |
37+ | ` cifmw_openshift_adp_s3_bucket ` | ` velero ` | S3 bucket name |
38+ | ` cifmw_openshift_adp_s3_prefix ` | ` rhoso ` | Bucket prefix |
39+ | ` cifmw_openshift_adp_s3_insecure_skip_tls ` | ` true ` | Skip TLS verification |
40+
41+ The S3 credentials (` cifmw_openshift_adp_s3_access_key ` ,
42+ ` cifmw_openshift_adp_s3_secret_key ` ) are passed automatically from the
43+ ` deploy_minio ` role output.
44+
2345## Manual Setup
2446
2547### Step 1: Install OADP Operator
@@ -46,7 +68,7 @@ metadata:
4668 name: redhat-oadp-operator
4769 namespace: openshift-adp
4870spec:
49- channel: stable-1.4
71+ channel: stable
5072 installPlanApproval: Automatic
5173 name: redhat-oadp-operator
5274 source: redhat-operators
@@ -159,13 +181,11 @@ VELERO_POD=$(oc get pods -n openshift-adp -l deploy=velero \
159181oc exec -n openshift-adp ${VELERO_POD} -- /velero version
160182```
161183
162- [ Velero v1.16+] ( https://github.com/vmware-tanzu/velero/releases/tag/v1.16.0 )
163- (expected in OADP for OCP 4.19+) adds the ` ignoreDelayBinding ` flag for
164- node-agent, improving Data Mover handling of ` WaitForFirstConsumer ` PVCs.
165- [ velero #9343 ] ( https://github.com/vmware-tanzu/velero/issues/9343 ) /
166- [ velero #9532 ] ( https://github.com/vmware-tanzu/velero/pull/9532 ) adds PV
167- topology constraints as pod affinities on data mover pods — check v1.18.1
168- or v1.19 release notes when released.
184+ OCP 4.20 ships OADP 1.5 with Velero v1.16+, which adds the
185+ ` ignoreDelayBinding ` flag for node-agent, improving Data Mover handling
186+ of ` WaitForFirstConsumer ` PVCs. On OCP 4.18/4.19 with older OADP
187+ versions, see [ ` ../restore/README.md ` ] ( ../restore/README.md ) for
188+ workarounds.
169189
170190## Test Backup and Restore (Optional)
171191
0 commit comments