diff --git a/ocs_ci/deployment/deployment.py b/ocs_ci/deployment/deployment.py index 42f36c0a758..eb3ef8e7896 100644 --- a/ocs_ci/deployment/deployment.py +++ b/ocs_ci/deployment/deployment.py @@ -1421,9 +1421,11 @@ def deploy_odf_addon(self): logger.info("Deploying odf with ocs addon.") clustername = config.ENV_DATA.get("cluster_name") ocs_version = version.get_semantic_ocs_version_from_config() + disable_noobaa = config.COMPONENTS.get("disable_noobaa", False) + noobaa_cmd_arg = f"--param ignoreNoobaa={str(disable_noobaa).lower()}" cmd = ( f"ibmcloud ks cluster addon enable openshift-data-foundation --cluster {clustername} -f --version " - f"{ocs_version}.0" + f"{ocs_version}.0 {noobaa_cmd_arg}" ) run_ibmcloud_cmd(cmd) time.sleep(120)