Skip to content

Commit

Permalink
Merge pull request #9195 from petr-balogh/fix-ibmcloud-roks-deploymen…
Browse files Browse the repository at this point in the history
…t-with-enabling-noobaa

Fix deployment for IBM Cloud ROKS deployment with enabling Noobaa
  • Loading branch information
petr-balogh authored Jan 19, 2024
2 parents 80b3438 + 7f0bdf4 commit 3d8f9eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ocs_ci/deployment/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3d8f9eb

Please sign in to comment.