Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[patch] Support for Health WSL #1441

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
3 changes: 3 additions & 0 deletions python/src/mas/cli/install/argBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ def buildCommand(self) -> str:
if self.getParam('mas_manage_attachment_configuration_mode') != "":
command += f" --manage-attachments-mode \"{self.getParam('mas_manage_attachment_configuration_mode')}\"{newline}"

if self.getParam('mas_appws_bindings_health_wsl_flag') == "true":
command += f" --manage-health-wsl{newline}"

# IBM Cloud Pak for Data
# -----------------------------------------------------------------------------
if self.getParam('cpd_product_version') != "":
Expand Down
9 changes: 9 additions & 0 deletions python/src/mas/cli/install/argParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,15 @@ def isValidFile(parser, arg) -> str:
default="base=latest,health=latest"
)

manageArgGroup.add_argument(
"--manage-health-wsl",
dest="mas_appws_bindings_health_wsl_flag",
required=False,
help="Set boolean value indicating if Watson Studio must be bound to Manage. It is expected a system level WatsonStudioCfg applied in the cluster.",
action="store_const",
const="true"
)

manageArgGroup.add_argument(
"--manage-customization-archive-name",
dest="mas_app_settings_customization_archive_name",
Expand Down
1 change: 1 addition & 0 deletions python/src/mas/cli/install/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"mas_app_settings_server_timezone",
"mas_appws_bindings_jdbc_manage",
"mas_appws_components",
"mas_appws_bindings_health_wsl_flag",
"mas_domain",
# SLS
"sls_namespace",
Expand Down
Loading