Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ocs_ci/deployment/fusion_data_foundation.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
class FusionDataFoundationDeployment:
def __init__(self):
self.pre_release = config.DEPLOYMENT.get("fdf_pre_release", False)
self.live_deployment = config.DEPLOYMENT.get("live_deployment", False)
self.kubeconfig = config.RUN["kubeconfig"]
self.lso_enabled = config.DEPLOYMENT.get("local_storage", False)
self.fdf_skip_storage_setup = config.DEPLOYMENT.get(
Expand Down Expand Up @@ -72,7 +73,7 @@ def deploy(self):
"""

logger.info("Installing IBM Fusion Data Foundation")
if self.pre_release:
if self.pre_release and not self.live_deployment:
self.create_image_tag_mirror_set()
self.create_image_digest_mirror_set()
self.setup_fdf_pre_release_deployment()
Expand Down
8 changes: 8 additions & 0 deletions ocs_ci/utility/framework/fusion_fdf_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ def init_config(self, args: list) -> None:
load_config([cfg_file])
if args.fdf_image_tag:
config.DEPLOYMENT["fdf_image_tag"] = args.fdf_image_tag
if args.live_deploy:
config.DEPLOYMENT["live_deployment"] = args.live_deploy

def init_cli(self, args: list) -> list:
"""
Expand Down Expand Up @@ -151,6 +153,12 @@ def init_cli(self, args: list) -> list:
parser.add_argument(
"--fdf-image-tag", default=None, help="Image tag of FDF to install"
)
parser.add_argument(
"--live-deploy",
action="store_true",
default=False,
help="Deploy FDF from live registry (GA)",
)

parsed_args, _ = parser.parse_known_args(args)

Expand Down
Loading