diff --git a/conf/ocsci/deploy_gitops_operator.yaml b/conf/ocsci/deploy_gitops_operator.yaml deleted file mode 100644 index 3afc3c7758c..00000000000 --- a/conf/ocsci/deploy_gitops_operator.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -ENV_DATA: - deploy_gitops_operator: True diff --git a/ocs_ci/deployment/deployment.py b/ocs_ci/deployment/deployment.py index 377796bb73d..54974c1f81e 100644 --- a/ocs_ci/deployment/deployment.py +++ b/ocs_ci/deployment/deployment.py @@ -279,15 +279,13 @@ def do_gitops_deploy(self): Returns: """ - if not config.ENV_DATA.get("deploy_gitops_operator"): - return # Multicluster operations if config.multicluster: - config.switch_acm_ctx() - - self.deploy_gitops_operator() - + acm_indexes = get_all_acm_indexes() + for acm_ctx in acm_indexes: + self.deploy_gitops_operator(switch_ctx=acm_ctx) + config.switch_ctx(get_active_acm_index()) logger.info("Creating GitOps CLuster Resource") run_cmd(f"oc create -f {constants.GITOPS_CLUSTER_YAML}")