diff --git a/ibm/mas_devops/roles/suite_app_config/README.md b/ibm/mas_devops/roles/suite_app_config/README.md index fcd5940efc..b90ec6777b 100644 --- a/ibm/mas_devops/roles/suite_app_config/README.md +++ b/ibm/mas_devops/roles/suite_app_config/README.md @@ -846,6 +846,18 @@ Sets the size of deployment. - Environment Variable: `MAS_FACILITIES_SIZE` - Default: `small` Available options are `small`, `medium` and `large` +#### mas_ws_facilities_appOMUpgradeMode +**Note**: +- **WARNING** Application upgrades can overwrite your custom changes. Do not select Automatic if you have customized your application. +- Currently supported `Maximo Real Estate and Facilities` release versions are: `9.2.x` + +Sets the Application Object Migration Mode. + +- **Optional** +- Environment Variable: `MAS_FACILITIES_APP_OM_UPGRADE_MODE` +- Default: `manual` Available options are `manual`, `load-only`, `automatic` + + #### mas_ws_facilities_pull_policy Sets the `imagePullPolicy` strategy for all deployments. The default is set to `IfNotPresent` to reduce the pulling operations in the cluster. diff --git a/ibm/mas_devops/roles/suite_app_config/defaults/main.yml b/ibm/mas_devops/roles/suite_app_config/defaults/main.yml index 2777e033d2..d96e9a0554 100644 --- a/ibm/mas_devops/roles/suite_app_config/defaults/main.yml +++ b/ibm/mas_devops/roles/suite_app_config/defaults/main.yml @@ -60,6 +60,7 @@ mas_pod_templates_dir: "{{ lookup('env', 'MAS_POD_TEMPLATES_DIR') | default('', # 5. Additional Facilities Configuration mas_ws_facilities_size: "{{ lookup('env', 'MAS_FACILITIES_SIZE') | default('small',true)}}" +mas_ws_facilities_appOMUpgradeMode: "{{ lookup('env', 'MAS_FACILITIES_APP_OM_UPGRADE_MODE') | default('manual', true) }}" mas_ws_facilities_pull_policy: "{{ lookup('env', 'MAS_FACILITIES_PULL_POLICY') | default('IfNotPresent', true)}}" mas_ws_facilities_routes_timeout: "{{ lookup('env', 'MAS_FACILITIES_ROUTES_TIMEOUT') | default('600s', true) }}" mas_ws_facilities_liberty_extension_XML: "{{ lookup('env', 'MAS_FACILITIES_LIBERTY_EXTENSION_XML_SECRET_NAME') | default('', true) }}" diff --git a/ibm/mas_devops/roles/suite_app_config/vars/defaultspecs/facilities.yml.j2 b/ibm/mas_devops/roles/suite_app_config/vars/defaultspecs/facilities.yml.j2 index 2037b9daa5..f12b416986 100644 --- a/ibm/mas_devops/roles/suite_app_config/vars/defaultspecs/facilities.yml.j2 +++ b/ibm/mas_devops/roles/suite_app_config/vars/defaultspecs/facilities.yml.j2 @@ -5,6 +5,7 @@ mas_appws_spec: bindings: jdbc: "{{ mas_appws_bindings_jdbc | default( 'workspace-application' , true) }}" settings: + appOMUpgradeMode: "{{ mas_ws_facilities_appOMUpgradeMode }}" deployment: size: "{{ mas_ws_facilities_size }}" routes: