diff --git a/ocs_ci/ocs/defaults.py b/ocs_ci/ocs/defaults.py index 91444231f60..701e62a22d2 100644 --- a/ocs_ci/ocs/defaults.py +++ b/ocs_ci/ocs/defaults.py @@ -40,6 +40,7 @@ OCS_OPERATOR_NAME = "ocs-operator" ODF_OPERATOR_NAME = "odf-operator" +HCI_CLIENT_ODF_OPERATOR_NAME = "ocs-client-operator" NOOBAA_OPERATOR = "noobaa-operator" MCG_OPERATOR = "mcg-operator" ODF_CSI_ADDONS_OPERATOR = "odf-csi-addons-operator" diff --git a/ocs_ci/utility/utils.py b/ocs_ci/utility/utils.py index 94b4b97d7dc..0d04a9d2207 100644 --- a/ocs_ci/utility/utils.py +++ b/ocs_ci/utility/utils.py @@ -1810,6 +1810,11 @@ def get_ocs_build_number(): >= version_module.VERSION_4_9 ): operator_name = defaults.ODF_OPERATOR_NAME + if ( + config.ENV_DATA.get("platform") in constants.HCI_PROVIDER_CLIENT_PLATFORMS + and config.ENV_DATA.get("cluster_type") == "hci_client" + ): + operator_name = defaults.HCI_CLIENT_ODF_OPERATOR_NAME else: operator_name = defaults.OCS_OPERATOR_NAME ocs_csvs = get_csvs_start_with_prefix(