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] sls_mongodb_cfg_file for custom mongodb namespace #1456

Merged
merged 12 commits into from
Feb 7, 2025
7 changes: 7 additions & 0 deletions python/src/mas/cli/install/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,13 @@ def nonInteractiveMode(self) -> None:
self.setParam(key, value)
if value in ["jms", "snojms"]:
self.setParam("mas_app_settings_persistent_volumes_flag", "true")

# MongoDB
elif key == "mongodb_namespace":
if value is not None and value != "":
self.setParam(key, value)
self.setParam("sls_mongodb_cfg_file", f"/workspace/configs/mongo-{value}.yml")

# SLS
elif key == "license_file":
if value is not None and value != "":
Expand Down
2 changes: 0 additions & 2 deletions python/src/mas/cli/install/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@
"mas_cluster_issuer",
# DRO
"dro_namespace",
# MongoDb
"mongodb_namespace",
# Db2
"db2_action_system",
"db2_action_manage",
Expand Down