Skip to content

Commit

Permalink
Merge pull request #9199 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…9195-to-release-4.12

[release-4.12] Fix deployment for IBM Cloud ROKS deployment with enabling Noobaa
  • Loading branch information
petr-balogh authored Jan 19, 2024
2 parents 5222fb8 + dd14619 commit 9b1b34f
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 @@ -1047,9 +1047,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 9b1b34f

Please sign in to comment.