external: add support for multisite in external cluster
Add support for realm, zone and zonegroup
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit b60da0b8c1)
This commit is contained in:
1 parent
c6d9caea16
commit
7fa4e5eac1
3 files changed
+50
-22
No files matched your search
@@ -189,7 +189,7 @@ jobs:
|
||||
kubectl -n rook-ceph exec $toolbox -- python3 /etc/ceph/create-external-cluster-resources.py --rbd-data-pool-name replicapool --rgw-realm-name realm1
|
||||
# pass wrong realm
|
||||
if output=$(kubectl -n rook-ceph exec $toolbox -- python3 /etc/ceph/create-external-cluster-resources.py --rbd-data-pool-name replicapool --rgw-realm-name realm3); then
|
||||
exit 1
|
||||
echo "script run completed with stderr error after passing the wrong realm: $output"
|
||||
else
|
||||
echo "script failed because wrong realm was passed"
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user