forked from rook/rook
Some users want to deploy two CephObjectStores for a single Zone. The first configures RGWs to process the synchronization of the data, while the second CephObjectStore configures the client RGWs. Currently, this can be implemented by setting the RGW option 'rgw_run_sync_thread' in the 'rook-config-override' ConfigMap, though it is not really user friendly. Ref: https://docs.ceph.com/en/latest/radosgw/config-ref/#confval-rgw_run_sync_thread This commit adds a new option in the CephObjectStore CRD as defined in issue https://github.com/rook/rook/issues/12272. The new option 'disableMultisiteSyncTraffic' determine whether the operator should disable the multisite sync threads for the RGWs. If the option is set to 'false', or if the option is not specified, the operator does nothing. This ensures that the multisite sync threads will not be enabled for users that disabled explicitely the multisite sync threads either manually or with the 'rook-config-override' ConfigMap. This commit also recommends to use two objectstore when scaling Ceph Objectstore Multisite replication, with one objectstore configured with disabled replication traffic. Signed-off-by: Lucas Henry <polyedre@disroot.org>