diff --git a/ocs_ci/deployment/hosted_cluster.py b/ocs_ci/deployment/hosted_cluster.py index 7a845617b022..ebceeb5f2c2c 100644 --- a/ocs_ci/deployment/hosted_cluster.py +++ b/ocs_ci/deployment/hosted_cluster.py @@ -25,6 +25,7 @@ from ocs_ci.ocs.ocp import OCP from ocs_ci.ocs.resources.catalog_source import CatalogSource from ocs_ci.ocs.resources.csv import check_all_csvs_are_succeeded +from ocs_ci.ocs.resources.ocs import OCS from ocs_ci.ocs.resources.pod import ( wait_for_pods_to_be_in_statuses_concurrently, ) @@ -430,7 +431,7 @@ def deploy_dependencies( # Enable central infrastructure management service for agent if config.DEPLOYMENT.get("hosted_cluster_platform") == "agent": - provisioning_obj = OCP( + provisioning_obj = OCS( **OCP(kind=constants.PROVISIONING).get().get("items")[0] ) if not provisioning_obj.data["spec"].get("watchAllNamespaces") == "true":