From 5b8a5f3cce8a924fa94638af4bfbd325bc833b87 Mon Sep 17 00:00:00 2001 From: Wolfgang Kulhanek Date: Tue, 12 Nov 2024 15:26:15 +0100 Subject: [PATCH] Update location --- .../pages/module-02-location-profile.adoc | 33 ++++++++++--------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/content/modules/ROOT/pages/module-02-location-profile.adoc b/content/modules/ROOT/pages/module-02-location-profile.adoc index 5fc7352..9ecb2bb 100644 --- a/content/modules/ROOT/pages/module-02-location-profile.adoc +++ b/content/modules/ROOT/pages/module-02-location-profile.adoc @@ -53,30 +53,30 @@ If this is the first time you are opening a terminal you may need to *Create a P . Run the following command to retrieve the Access Key for the Multicloud Object Gateway: + -[source,bash] +[source,bash,role=execute,subs="attributes"] ---- -oc get secret -n backuptarget kastenbackups -ojsonpath='{.data.AWS_ACCESS_KEY_ID}' | base64 --decode && echo +oc get secret -n backuptarget-{user} kastenbackups -ojsonpath='{.data.AWS_ACCESS_KEY_ID}' | base64 --decode && echo ---- + Copy the Access Key to a text editor as it will be needed again shortly . Run the following command to retrieve the Secret Key for the Multicloud Object Gateway: + -[source,bash] +[source,bash,role=execute,subs="attributes"] ---- oc get secret -n backuptarget-{user} kastenbackups -ojsonpath='{.data.AWS_SECRET_ACCESS_KEY}' | base64 --decode && echo ---- + -Copy the Secret Key to a text editor as it will be needed again shortly +Copy the Secret Key to a text editor as it will be needed again shortly. -. Run the following command to retrieve the S3 endpoint address -+ -[source,bash] ----- -oc get route s3 -n openshift-storage -ojson | jq -r '.spec.host' ----- -+ -Copy the Endpoint Address to a text editor as it will be needed again shortly +// . Run the following command to retrieve the S3 endpoint address +// + +// [source,bash,role=execute,subs="attributes"] +// ---- +// oc get route s3 -n openshift-storage -ojson | jq -r '.spec.host' +// ---- +// + +// Copy the Endpoint Address to a text editor as it will be needed again shortly == 3. Creating an S3-Compatible Location Profile @@ -110,20 +110,23 @@ image::module-02-location-profile/02.png[] | Paste `SECRET KEY` value | *_Endpoint_* -| Paste `ENDPOINT` value +| `{kasten_backup_bucket_host}` + +| *_Skip certificate chain and hostname verification_* +| Checked | *_Region_* | `us-east-1` | *_Bucket_* -| `kasten` +| `kastenbackups` |=== + image::module-02-location-profile/02b.png[] . Click *_Next → Save Profile_*. + -You should expect your `ceph-rgw-immutable` Location Profile to appear with a *_Success_* status. +You should expect your `kastenbackups-{user}` Location Profile to appear with a *_Success_* status. + image::module-02-location-profile/05.png[] +