Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 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
8 changes: 8 additions & 0 deletions ibm/mas_devops/roles/suite_app_config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,14 @@ Sets the size of deployment.
- Environment Variable: `MAS_FACILITIES_SIZE`
- Default: `small` Available options are `small`, `medium` and `large`

#### mas_ws_facilities_appOMUpgradeMode
Warning! Application upgrades can overwrite your custom changes. Do not select Automatic if you have customized your application. Sets the Application upgrades.

- **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.

Expand Down
1 change: 1 addition & 0 deletions ibm/mas_devops/roles/suite_app_config/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading