mas-cli 12.0.0__py3-none-any.whl → 12.27.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mas-cli might be problematic. Click here for more details.
- mas/cli/__init__.py +1 -1
- mas/cli/aiservice/install/__init__.py +11 -0
- mas/cli/aiservice/install/app.py +810 -0
- mas/cli/aiservice/install/argBuilder.py +232 -0
- mas/cli/aiservice/install/argParser.py +742 -0
- mas/cli/aiservice/install/params.py +120 -0
- mas/cli/aiservice/install/summarizer.py +193 -0
- mas/cli/cli.py +36 -9
- mas/cli/gencfg.py +23 -0
- mas/cli/install/app.py +295 -85
- mas/cli/install/argBuilder.py +92 -14
- mas/cli/install/argParser.py +200 -147
- mas/cli/install/catalogs.py +11 -6
- mas/cli/install/params.py +32 -6
- mas/cli/install/settings/additionalConfigs.py +18 -1
- mas/cli/install/settings/db2Settings.py +121 -72
- mas/cli/install/settings/kafkaSettings.py +2 -2
- mas/cli/install/settings/manageSettings.py +154 -159
- mas/cli/install/settings/mongodbSettings.py +1 -1
- mas/cli/install/settings/turbonomicSettings.py +1 -3
- mas/cli/install/summarizer.py +85 -68
- mas/cli/templates/facilities-configs.yml.j2 +25 -0
- mas/cli/templates/ibm-mas-tekton.yaml +16683 -7870
- mas/cli/update/app.py +43 -9
- mas/cli/upgrade/app.py +52 -20
- mas/cli/upgrade/argParser.py +7 -0
- mas/cli/upgrade/settings/__init__.py +19 -0
- mas/cli/validators.py +13 -0
- {mas_cli-12.0.0.data → mas_cli-12.27.0.data}/scripts/mas-cli +5 -1
- {mas_cli-12.0.0.dist-info → mas_cli-12.27.0.dist-info}/METADATA +12 -3
- {mas_cli-12.0.0.dist-info → mas_cli-12.27.0.dist-info}/RECORD +33 -25
- {mas_cli-12.0.0.dist-info → mas_cli-12.27.0.dist-info}/WHEEL +1 -1
- {mas_cli-12.0.0.dist-info → mas_cli-12.27.0.dist-info}/top_level.txt +0 -0
mas/cli/install/argBuilder.py
CHANGED
|
@@ -102,13 +102,20 @@ class installArgBuilderMixin():
|
|
|
102
102
|
command += f" --domain \"{self.getParam('mas_domain')}\"{newline}"
|
|
103
103
|
|
|
104
104
|
if self.getParam('--dns-provider') == "cis":
|
|
105
|
-
command += f" --dns-provider cis --cis-apikey \"{self.getParam('cis_apikey')}"
|
|
106
|
-
command += f" --cis-subdomain \"{self.getParam('cis_subdomain')}"
|
|
107
|
-
command += f" --cis-crn \"{self.getParam('cis_crn')}\"
|
|
105
|
+
command += f" --dns-provider cis --cis-apikey \"{self.getParam('cis_apikey')}\""
|
|
106
|
+
command += f" --cis-subdomain \"{self.getParam('cis_subdomain')}\""
|
|
107
|
+
command += f" --cis-crn \"{self.getParam('cis_crn')}\""
|
|
108
|
+
command += f" --cis-email \"{self.getParam('cis_email')}\"{newline}"
|
|
109
|
+
|
|
110
|
+
if self.getParam('--mas-cluster-issuer') != "":
|
|
111
|
+
command += f" --mas-cluster-issuer \"{self.getParam('mas_cluster_issuer')}\"{newline}"
|
|
108
112
|
|
|
109
113
|
if self.getParam('mas_enable_walkme') == "false":
|
|
110
114
|
command += f" --disable-walkme{newline}"
|
|
111
115
|
|
|
116
|
+
if self.getParam('enable_ipv6') is True:
|
|
117
|
+
command += f" --enable-ipv6{newline}"
|
|
118
|
+
|
|
112
119
|
# Storage
|
|
113
120
|
# -----------------------------------------------------------------------------
|
|
114
121
|
command += f" --storage-class-rwo \"{self.getParam('storage_class_rwo')}\""
|
|
@@ -118,9 +125,15 @@ class installArgBuilderMixin():
|
|
|
118
125
|
|
|
119
126
|
# IBM Suite License Service
|
|
120
127
|
# -----------------------------------------------------------------------------
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
128
|
+
if self.getParam("sls_namespace") and self.getParam("sls_namespace") != "ibm-sls":
|
|
129
|
+
if self.getParam("mas_instance_id") and self.getParam("sls_namespace") == f"mas-{self.getParam('mas_instance_id')}-sls":
|
|
130
|
+
command += " --dedicated-sls"
|
|
131
|
+
else:
|
|
132
|
+
command += f" --sls-namespace \"{self.getParam('sls_namespace')}\""
|
|
133
|
+
if self.slsLicenseFileLocal:
|
|
134
|
+
command += f" --license-file \"{self.slsLicenseFileLocal}\""
|
|
135
|
+
if self.getParam("sls_namespace") and self.getParam("sls_namespace") != "ibm-sls" or self.slsLicenseFileLocal:
|
|
136
|
+
command += newline
|
|
124
137
|
|
|
125
138
|
# IBM Data Reporting Operator (DRO)
|
|
126
139
|
# -----------------------------------------------------------------------------
|
|
@@ -150,6 +163,7 @@ class installArgBuilderMixin():
|
|
|
150
163
|
command += f" --monitor-channel \"{self.getParam('mas_app_channel_monitor')}\"{newline}"
|
|
151
164
|
if self.installManage:
|
|
152
165
|
command += f" --manage-channel \"{self.getParam('mas_app_channel_manage')}\"{newline}"
|
|
166
|
+
command += f" --is-full-manage \"{self.getParam('is_full_manage')}\"{newline}"
|
|
153
167
|
if self.installOptimizer:
|
|
154
168
|
command += f" --optimizer-channel \"{self.getParam('mas_app_channel_optimizer')}\""
|
|
155
169
|
command += f" --optimizer-plan \"{self.getParam('mas_app_plan_optimizer')}\"{newline}"
|
|
@@ -157,6 +171,8 @@ class installArgBuilderMixin():
|
|
|
157
171
|
command += f" --predict-channel \"{self.getParam('mas_app_channel_predict')}\"{newline}"
|
|
158
172
|
if self.installInspection:
|
|
159
173
|
command += f" --visualinspection-channel \"{self.getParam('mas_app_channel_visualinspection')}\"{newline}"
|
|
174
|
+
if self.installFacilities:
|
|
175
|
+
command += f" --facilities-channel \"{self.getParam('mas_app_channel_facilities')}\"{newline}"
|
|
160
176
|
|
|
161
177
|
# Arcgis
|
|
162
178
|
# -----------------------------------------------------------------------------
|
|
@@ -212,25 +228,79 @@ class installArgBuilderMixin():
|
|
|
212
228
|
if self.getParam('mas_app_settings_server_timezone') != "":
|
|
213
229
|
command += f" --manage-server-timezone \"{self.getParam('mas_app_settings_server_timezone')}\"{newline}"
|
|
214
230
|
|
|
231
|
+
if self.getParam('mas_manage_attachments_provider') != "":
|
|
232
|
+
command += f" --manage-attachments-provider \"{self.getParam('mas_manage_attachments_provider')}\"{newline}"
|
|
233
|
+
|
|
234
|
+
if self.getParam('mas_manage_attachment_configuration_mode') != "":
|
|
235
|
+
command += f" --manage-attachments-mode \"{self.getParam('mas_manage_attachment_configuration_mode')}\"{newline}"
|
|
236
|
+
|
|
237
|
+
if self.getParam('mas_appws_bindings_health_wsl_flag') == "true":
|
|
238
|
+
command += f" --manage-health-wsl{newline}"
|
|
239
|
+
|
|
240
|
+
# Facilities Advanced Settings
|
|
241
|
+
# -----------------------------------------------------------------------------
|
|
242
|
+
# TODO: Fix type for storage sizes and max conn pool size
|
|
243
|
+
if self.installFacilities:
|
|
244
|
+
if self.getParam('mas_ws_facilities_size') != "":
|
|
245
|
+
command += f" --facilities-size \"{self.getParam('mas_ws_facilities_size')}\"{newline}"
|
|
246
|
+
|
|
247
|
+
if self.getParam('mas_ws_facilities_pull_policy') != "":
|
|
248
|
+
command += f" --facilities-pull-policy \"{self.getParam('mas_ws_facilities_pull_policy')}\"{newline}"
|
|
249
|
+
|
|
250
|
+
if self.getParam('mas_ws_facilities_routes_timeout') != "":
|
|
251
|
+
command += f" --facilities-routes-timeout \"{self.getParam('mas_ws_facilities_routes_timeout')}\"{newline}"
|
|
252
|
+
|
|
253
|
+
if self.getParam('mas_ws_facilities_liberty_extension_XML') != "":
|
|
254
|
+
command += f" --facilities-xml-extension \"{self.getParam('mas_ws_facilities_liberty_extension_XML')}\"{newline}"
|
|
255
|
+
|
|
256
|
+
if self.getParam('mas_ws_facilities_vault_secret') != "":
|
|
257
|
+
command += f" --facilities-vault-secret \"{self.getParam('mas_ws_facilities_vault_secret')}\"{newline}"
|
|
258
|
+
|
|
259
|
+
if self.getParam('mas_ws_facilities_dwfagents') != "":
|
|
260
|
+
command += f" --facilities-dwfagent \'{self.getParam('mas_ws_facilities_dwfagents')}\'{newline}"
|
|
261
|
+
|
|
262
|
+
if self.getParam('mas_ws_facilities_db_maxconnpoolsize') != "":
|
|
263
|
+
command += f" --facilities-maxconnpoolsize \"{self.getParam('mas_ws_facilities_db_maxconnpoolsize')}\"{newline}"
|
|
264
|
+
|
|
265
|
+
if self.getParam('mas_ws_facilities_storage_log_class') != "":
|
|
266
|
+
command += f" --facilities-log-storage-class \"{self.getParam('mas_ws_facilities_storage_log_class')}\"{newline}"
|
|
267
|
+
if self.getParam('mas_ws_facilities_storage_log_mode') != "":
|
|
268
|
+
command += f" --facilities-log-storage-mode \"{self.getParam('mas_ws_facilities_storage_log_mode')}\"{newline}"
|
|
269
|
+
if self.getParam('mas_ws_facilities_storage_log_size') != "":
|
|
270
|
+
command += f" --facilities-log-storage-size \"{self.getParam('mas_ws_facilities_storage_log_size')}\"{newline}"
|
|
271
|
+
|
|
272
|
+
if self.getParam('mas_ws_facilities_storage_userfiles_class') != "":
|
|
273
|
+
command += f" --facilities-userfiles-storage-class \"{self.getParam('mas_ws_facilities_storage_userfiles_class')}\"{newline}"
|
|
274
|
+
if self.getParam('mas_ws_facilities_storage_userfiles_mode') != "":
|
|
275
|
+
command += f" --facilities-userfiles-storage-mode \"{self.getParam('mas_ws_facilities_storage_userfiles_mode')}\"{newline}"
|
|
276
|
+
if self.getParam('mas_ws_facilities_storage_userfiles_size') != "":
|
|
277
|
+
command += f" --facilities-userfiles-storage-size \"{self.getParam('mas_ws_facilities_storage_userfiles_size')}\"{newline}"
|
|
278
|
+
|
|
215
279
|
# IBM Cloud Pak for Data
|
|
216
280
|
# -----------------------------------------------------------------------------
|
|
217
281
|
if self.getParam('cpd_product_version') != "":
|
|
218
282
|
command += f" --cp4d-version \"{self.getParam('cpd_product_version')}\""
|
|
219
|
-
if self.getParam('cpd_install_spss') == "
|
|
283
|
+
if self.getParam('cpd_install_spss') == "true":
|
|
220
284
|
command += " --cp4d-install-spss"
|
|
221
|
-
if self.getParam('
|
|
222
|
-
command += " --cp4d-install-openscal"
|
|
223
|
-
if self.getParam('cpd_install_cognos') == "install":
|
|
285
|
+
if self.getParam('cpd_install_cognos') == "true":
|
|
224
286
|
command += " --cp4d-install-cognos"
|
|
287
|
+
if self.getParam('cpd_install_ws') == "true":
|
|
288
|
+
command += " --cp4d-install-ws"
|
|
289
|
+
if self.getParam('cpd_install_wml') == "true":
|
|
290
|
+
command += " --cp4d-install-wml"
|
|
291
|
+
if self.getParam('cpd_install_ae') == "true":
|
|
292
|
+
command += " --cp4d-install-ae"
|
|
225
293
|
command += newline
|
|
226
294
|
|
|
227
295
|
# IBM Db2 Universal Operator
|
|
228
296
|
# -----------------------------------------------------------------------------
|
|
229
|
-
if self.getParam('db2_action_system') == "install" or self.getParam('db2_action_manage') == "install":
|
|
297
|
+
if self.getParam('db2_action_system') == "install" or self.getParam('db2_action_manage') == "install" or self.getParam('db2_action_facilities') == "install":
|
|
230
298
|
if self.getParam('db2_action_system') == "install":
|
|
231
299
|
command += f" --db2-system{newline}"
|
|
232
300
|
if self.getParam('db2_action_manage') == "install":
|
|
233
301
|
command += f" --db2-manage{newline}"
|
|
302
|
+
if self.getParam('db2_action_facilities') == "install":
|
|
303
|
+
command += f" --db2-facilities{newline}"
|
|
234
304
|
|
|
235
305
|
if self.getParam('db2_channel') != "":
|
|
236
306
|
command += f" --db2-channel \"{self.getParam('db2_channel')}\"{newline}"
|
|
@@ -309,9 +379,9 @@ class installArgBuilderMixin():
|
|
|
309
379
|
# Kafka - Event Streams
|
|
310
380
|
# -----------------------------------------------------------------------------
|
|
311
381
|
if self.getParam('eventstreams_instance_name') != "":
|
|
312
|
-
command += f" --eventstreams-resource-group \"{self.getParam('
|
|
313
|
-
command += f" --eventstreams-instance-name \"{self.getParam('
|
|
314
|
-
command += f" --eventstreams-instance-location \"{self.getParam('
|
|
382
|
+
command += f" --eventstreams-resource-group \"{self.getParam('eventstreams_resourcegroup')}\""
|
|
383
|
+
command += f" --eventstreams-instance-name \"{self.getParam('eventstreams_name')}\""
|
|
384
|
+
command += f" --eventstreams-instance-location \"{self.getParam('eventstreams_location')}\"{newline}"
|
|
315
385
|
|
|
316
386
|
# COS
|
|
317
387
|
# -----------------------------------------------------------------------------
|
|
@@ -321,6 +391,10 @@ class installArgBuilderMixin():
|
|
|
321
391
|
command += f" --cos-resourcegroup \"{self.getParam('cos_resourcegroup')}\""
|
|
322
392
|
if self.getParam('cos_apikey') != "":
|
|
323
393
|
command += f" --cos-apikey \"{self.getParam('cos_apikey')}\""
|
|
394
|
+
if self.getParam('cos_instance_name') != "":
|
|
395
|
+
command += f" --cos-instance-name \"{self.getParam('cos_instance_name')}\""
|
|
396
|
+
if self.getParam('cos_bucket_name') != "":
|
|
397
|
+
command += f" --cos-bucket-name \"{self.getParam('cos_bucket_name')}\"{newline}"
|
|
324
398
|
command += newline
|
|
325
399
|
|
|
326
400
|
# Turbonomic Integration
|
|
@@ -367,6 +441,8 @@ class installArgBuilderMixin():
|
|
|
367
441
|
command += f" --approval-predict \"{self.getParam('approval_predict')}\"{newline}"
|
|
368
442
|
if self.getParam('approval_visualinspection') != "":
|
|
369
443
|
command += f" --approval-visualinspection \"{self.getParam('approval_visualinspection')}\"{newline}"
|
|
444
|
+
if self.getParam('approval_facilities') != "":
|
|
445
|
+
command += f" --approval-facilities \"{self.getParam('approval_facilities')}\"{newline}"
|
|
370
446
|
|
|
371
447
|
# More Options
|
|
372
448
|
# -----------------------------------------------------------------------------
|
|
@@ -380,6 +456,8 @@ class installArgBuilderMixin():
|
|
|
380
456
|
command += f" --skip-grafana-install{newline}"
|
|
381
457
|
if self.getParam('image_pull_policy') != "":
|
|
382
458
|
command += f" --image-pull-policy {self.getParam('image_pull_policy')}{newline}"
|
|
459
|
+
if self.getParam('service_account_name') != "":
|
|
460
|
+
command += f" --service-account {self.getParam('service_account_name')}{newline}"
|
|
383
461
|
|
|
384
462
|
command += " --accept-license --no-confirm"
|
|
385
463
|
return command
|
mas/cli/install/argParser.py
CHANGED
|
@@ -170,7 +170,6 @@ masAdvancedArgGroup.add_argument(
|
|
|
170
170
|
required=False,
|
|
171
171
|
help="Configure MAS with a custom domain"
|
|
172
172
|
)
|
|
173
|
-
|
|
174
173
|
masAdvancedArgGroup.add_argument(
|
|
175
174
|
"--disable-walkme",
|
|
176
175
|
dest="mas_enable_walkme",
|
|
@@ -188,6 +187,22 @@ masAdvancedArgGroup.add_argument(
|
|
|
188
187
|
choices=["cloudflare", "cis", "route53"]
|
|
189
188
|
)
|
|
190
189
|
|
|
190
|
+
masAdvancedArgGroup.add_argument(
|
|
191
|
+
"--mas-cluster-issuer",
|
|
192
|
+
dest="mas_cluster_issuer",
|
|
193
|
+
required=False,
|
|
194
|
+
help="Provide the name of the ClusterIssuer to configure MAS to issue certificates",
|
|
195
|
+
)
|
|
196
|
+
|
|
197
|
+
masAdvancedArgGroup.add_argument(
|
|
198
|
+
"--enable-ipv6",
|
|
199
|
+
dest="enable_ipv6",
|
|
200
|
+
required=False,
|
|
201
|
+
help="Configure MAS to run in IP version 6. Before setting this option, be sure your cluster is configured in IP version 6",
|
|
202
|
+
action="store_const",
|
|
203
|
+
const="true"
|
|
204
|
+
)
|
|
205
|
+
|
|
191
206
|
# DNS Configuration - IBM CIS
|
|
192
207
|
# -----------------------------------------------------------------------------
|
|
193
208
|
cisArgGroup = installArgParser.add_argument_group("DNS Configuration - CIS")
|
|
@@ -256,6 +271,12 @@ slsArgGroup.add_argument(
|
|
|
256
271
|
help="Customize the SLS install namespace",
|
|
257
272
|
default="ibm-sls"
|
|
258
273
|
)
|
|
274
|
+
slsArgGroup.add_argument(
|
|
275
|
+
"--dedicated-sls",
|
|
276
|
+
action="store_true",
|
|
277
|
+
default=False,
|
|
278
|
+
help="Set the SLS namespace to mas-<instanceid>-sls"
|
|
279
|
+
)
|
|
259
280
|
|
|
260
281
|
# IBM Data Reporting Operator (DRO)
|
|
261
282
|
# -----------------------------------------------------------------------------
|
|
@@ -325,6 +346,11 @@ masAppsArgGroup.add_argument(
|
|
|
325
346
|
required=False,
|
|
326
347
|
help="Subscription channel for Maximo Manage"
|
|
327
348
|
)
|
|
349
|
+
masAppsArgGroup.add_argument(
|
|
350
|
+
"--is-full-manage",
|
|
351
|
+
required=False,
|
|
352
|
+
help="Full Manage instead of Manage Foundation"
|
|
353
|
+
)
|
|
328
354
|
masAppsArgGroup.add_argument(
|
|
329
355
|
"--predict-channel",
|
|
330
356
|
required=False,
|
|
@@ -347,145 +373,9 @@ masAppsArgGroup.add_argument(
|
|
|
347
373
|
help="Install plan for Maximo Optimizer"
|
|
348
374
|
)
|
|
349
375
|
masAppsArgGroup.add_argument(
|
|
350
|
-
"--
|
|
376
|
+
"--facilities-channel",
|
|
351
377
|
required=False,
|
|
352
|
-
help="Subscription channel for Maximo
|
|
353
|
-
)
|
|
354
|
-
|
|
355
|
-
# AI Broker
|
|
356
|
-
# -----------------------------------------------------------------------------
|
|
357
|
-
aibrokerArgGroup = installArgParser.add_argument_group("Maximo AI Broker")
|
|
358
|
-
aibrokerArgGroup.add_argument(
|
|
359
|
-
"--mas-aibroker-storage-provider",
|
|
360
|
-
dest="mas_aibroker_storage_provider",
|
|
361
|
-
required=False,
|
|
362
|
-
help="Customize Manage database encryption keys"
|
|
363
|
-
)
|
|
364
|
-
aibrokerArgGroup.add_argument(
|
|
365
|
-
"--mas-aibroker-storage-accesskey",
|
|
366
|
-
dest="mas_aibroker_storage_accesskey",
|
|
367
|
-
required=False,
|
|
368
|
-
help="Customize Manage database encryption keys"
|
|
369
|
-
)
|
|
370
|
-
aibrokerArgGroup.add_argument(
|
|
371
|
-
"--mas-aibroker-storage-secretkey",
|
|
372
|
-
dest="mas_aibroker_storage_secretkey",
|
|
373
|
-
required=False,
|
|
374
|
-
help="Customize Manage database encryption keys"
|
|
375
|
-
)
|
|
376
|
-
aibrokerArgGroup.add_argument(
|
|
377
|
-
"--mas-aibroker-storage-host",
|
|
378
|
-
dest="mas_aibroker_storage_host",
|
|
379
|
-
required=False,
|
|
380
|
-
help="Customize Manage database encryption keys"
|
|
381
|
-
)
|
|
382
|
-
aibrokerArgGroup.add_argument(
|
|
383
|
-
"--mas-aibroker-storage-port",
|
|
384
|
-
dest="mas_aibroker_storage_port",
|
|
385
|
-
required=False,
|
|
386
|
-
help="Customize Manage database encryption keys"
|
|
387
|
-
)
|
|
388
|
-
aibrokerArgGroup.add_argument(
|
|
389
|
-
"--mas-aibroker-storage-ssl",
|
|
390
|
-
dest="mas_aibroker_storage_ssl",
|
|
391
|
-
required=False,
|
|
392
|
-
help="Customize Manage database encryption keys"
|
|
393
|
-
)
|
|
394
|
-
aibrokerArgGroup.add_argument(
|
|
395
|
-
"--mas-aibroker-storage-region",
|
|
396
|
-
dest="mas_aibroker_storage_region",
|
|
397
|
-
required=False,
|
|
398
|
-
help="Customize Manage database encryption keys"
|
|
399
|
-
)
|
|
400
|
-
aibrokerArgGroup.add_argument(
|
|
401
|
-
"--mas-aibroker-storage-pipelines-bucket",
|
|
402
|
-
dest="mas_aibroker_storage_pipelines_bucket",
|
|
403
|
-
required=False,
|
|
404
|
-
help="Customize Manage database encryption keys"
|
|
405
|
-
)
|
|
406
|
-
aibrokerArgGroup.add_argument(
|
|
407
|
-
"--mas-aibroker-storage-tenants-bucket",
|
|
408
|
-
dest="mas_aibroker_storage_tenants_bucket",
|
|
409
|
-
required=False,
|
|
410
|
-
help="Customize Manage database encryption keys"
|
|
411
|
-
)
|
|
412
|
-
aibrokerArgGroup.add_argument(
|
|
413
|
-
"--mas-aibroker-storage-templates-bucket",
|
|
414
|
-
dest="mas_aibroker_storage_templates_bucket",
|
|
415
|
-
required=False,
|
|
416
|
-
help="Customize Manage database encryption keys"
|
|
417
|
-
)
|
|
418
|
-
aibrokerArgGroup.add_argument(
|
|
419
|
-
"--mas-aibroker-tenant-name",
|
|
420
|
-
dest="mas_aibroker_tenant_name",
|
|
421
|
-
required=False,
|
|
422
|
-
help="Customize Manage database encryption keys"
|
|
423
|
-
)
|
|
424
|
-
aibrokerArgGroup.add_argument(
|
|
425
|
-
"--mas-aibroker-watsonxai-apikey",
|
|
426
|
-
dest="mas_aibroker_watsonxai_apikey",
|
|
427
|
-
required=False,
|
|
428
|
-
help="Customize Manage database encryption keys"
|
|
429
|
-
)
|
|
430
|
-
aibrokerArgGroup.add_argument(
|
|
431
|
-
"--mas-aibroker-watsonxai-url",
|
|
432
|
-
dest="mas_aibroker_watsonxai_url",
|
|
433
|
-
required=False,
|
|
434
|
-
help="Customize Manage database encryption keys"
|
|
435
|
-
)
|
|
436
|
-
aibrokerArgGroup.add_argument(
|
|
437
|
-
"--mas-aibroker-watsonxai-project-id",
|
|
438
|
-
dest="mas_aibroker_watsonxai_project_id",
|
|
439
|
-
required=False,
|
|
440
|
-
help="Customize Manage database encryption keys"
|
|
441
|
-
)
|
|
442
|
-
aibrokerArgGroup.add_argument(
|
|
443
|
-
"--mas-aibroker-watsonx-action",
|
|
444
|
-
dest="mas_aibroker_watsonx_action",
|
|
445
|
-
required=False,
|
|
446
|
-
help="Customize Manage database encryption keys"
|
|
447
|
-
)
|
|
448
|
-
aibrokerArgGroup.add_argument(
|
|
449
|
-
"--mas-aibroker-db-host",
|
|
450
|
-
dest="mas_aibroker_db_host",
|
|
451
|
-
required=False,
|
|
452
|
-
help="Customize Manage database encryption keys"
|
|
453
|
-
)
|
|
454
|
-
aibrokerArgGroup.add_argument(
|
|
455
|
-
"--mas-aibroker-db-port",
|
|
456
|
-
dest="mas_aibroker_db_port",
|
|
457
|
-
required=False,
|
|
458
|
-
help="Customize Manage database encryption keys"
|
|
459
|
-
)
|
|
460
|
-
aibrokerArgGroup.add_argument(
|
|
461
|
-
"--mas-aibroker-db-user",
|
|
462
|
-
dest="mas_aibroker_db_user",
|
|
463
|
-
required=False,
|
|
464
|
-
help="Customize Manage database encryption keys"
|
|
465
|
-
)
|
|
466
|
-
aibrokerArgGroup.add_argument(
|
|
467
|
-
"--mas-aibroker-db-database",
|
|
468
|
-
dest="mas_aibroker_db_database",
|
|
469
|
-
required=False,
|
|
470
|
-
help="Customize Manage database encryption keys"
|
|
471
|
-
)
|
|
472
|
-
aibrokerArgGroup.add_argument(
|
|
473
|
-
"--mas-aibroker-db-secret-name",
|
|
474
|
-
dest="mas_aibroker_db_secret_name",
|
|
475
|
-
required=False,
|
|
476
|
-
help="Customize Manage database encryption keys"
|
|
477
|
-
)
|
|
478
|
-
aibrokerArgGroup.add_argument(
|
|
479
|
-
"--mas-aibroker-db-secret-key",
|
|
480
|
-
dest="mas_aibroker_db_secret_key",
|
|
481
|
-
required=False,
|
|
482
|
-
help="Customize Manage database encryption keys"
|
|
483
|
-
)
|
|
484
|
-
aibrokerArgGroup.add_argument(
|
|
485
|
-
"--mas-aibroker-db-secret-value",
|
|
486
|
-
dest="mas_aibroker_db_secret_value",
|
|
487
|
-
required=False,
|
|
488
|
-
help="Customize Manage database encryption keys"
|
|
378
|
+
help="Subscription channel for Maximo Real Estate and Facilities"
|
|
489
379
|
)
|
|
490
380
|
|
|
491
381
|
# Arcgis
|
|
@@ -519,7 +409,7 @@ manageArgGroup.add_argument(
|
|
|
519
409
|
"--manage-jms",
|
|
520
410
|
dest="mas_app_settings_default_jms",
|
|
521
411
|
required=False,
|
|
522
|
-
help="",
|
|
412
|
+
help="Set JMS configuration",
|
|
523
413
|
action="store_const",
|
|
524
414
|
const="true"
|
|
525
415
|
)
|
|
@@ -555,6 +445,15 @@ manageArgGroup.add_argument(
|
|
|
555
445
|
default="base=latest,health=latest"
|
|
556
446
|
)
|
|
557
447
|
|
|
448
|
+
manageArgGroup.add_argument(
|
|
449
|
+
"--manage-health-wsl",
|
|
450
|
+
dest="mas_appws_bindings_health_wsl_flag",
|
|
451
|
+
required=False,
|
|
452
|
+
help="Set boolean value indicating if Watson Studio must be bound to Manage. It is expected a system level WatsonStudioCfg applied in the cluster.",
|
|
453
|
+
action="store_const",
|
|
454
|
+
const="true"
|
|
455
|
+
)
|
|
456
|
+
|
|
558
457
|
manageArgGroup.add_argument(
|
|
559
458
|
"--manage-customization-archive-name",
|
|
560
459
|
dest="mas_app_settings_customization_archive_name",
|
|
@@ -651,6 +550,110 @@ manageArgGroup.add_argument(
|
|
|
651
550
|
help="Manage server timezone. Default is `GMT`"
|
|
652
551
|
)
|
|
653
552
|
|
|
553
|
+
# Manage Attachments
|
|
554
|
+
# -----------------------------------------------------------------------------
|
|
555
|
+
manageArgGroup.add_argument(
|
|
556
|
+
"--manage-attachments-provider",
|
|
557
|
+
dest="mas_manage_attachments_provider",
|
|
558
|
+
required=False,
|
|
559
|
+
help="Defines the storage provider type to be used to store attachments in Maximo Manage. Supported options are `filestorage`, `ibm` and `aws`.",
|
|
560
|
+
choices=["filestorage", "ibm", "aws"]
|
|
561
|
+
)
|
|
562
|
+
manageArgGroup.add_argument(
|
|
563
|
+
"--manage-attachments-mode",
|
|
564
|
+
dest="mas_manage_attachment_configuration_mode",
|
|
565
|
+
required=False,
|
|
566
|
+
help="Defines how attachment properties will be configured in Manage. Possible values are: cr and db",
|
|
567
|
+
choices=["cr", "db"]
|
|
568
|
+
)
|
|
569
|
+
|
|
570
|
+
# Facilities Advanced Settings
|
|
571
|
+
# TODO: Fix type for storage sizes and max conn pool size
|
|
572
|
+
facilitiesArgGroup = installArgParser.add_argument_group("Facilities Advanced Configuration")
|
|
573
|
+
facilitiesArgGroup.add_argument(
|
|
574
|
+
"--facilities-size",
|
|
575
|
+
dest="mas_ws_facilities_size",
|
|
576
|
+
required=False,
|
|
577
|
+
help="Defines the size of Facilities deployment",
|
|
578
|
+
choices=['small', 'medium', 'large'],
|
|
579
|
+
)
|
|
580
|
+
facilitiesArgGroup.add_argument(
|
|
581
|
+
"--facilities-pull-policy",
|
|
582
|
+
dest="mas_ws_facilities_pull_policy",
|
|
583
|
+
required=False,
|
|
584
|
+
help="Defines the pull policy for the images",
|
|
585
|
+
choices=["IfNotPresent", "Always"],
|
|
586
|
+
)
|
|
587
|
+
facilitiesArgGroup.add_argument(
|
|
588
|
+
"--facilities-routes-timeout",
|
|
589
|
+
dest="mas_ws_facilities_routes_timeout",
|
|
590
|
+
required=False,
|
|
591
|
+
help="Defines the timeout for the routes",
|
|
592
|
+
default="600s",
|
|
593
|
+
)
|
|
594
|
+
facilitiesArgGroup.add_argument(
|
|
595
|
+
"--facilities-xml-extension",
|
|
596
|
+
dest="mas_ws_facilities_liberty_extension_XML",
|
|
597
|
+
required=False,
|
|
598
|
+
help="Defines the name of the secret that holds the extensions for Liberty server",
|
|
599
|
+
)
|
|
600
|
+
facilitiesArgGroup.add_argument(
|
|
601
|
+
"--facilities-vault-secret",
|
|
602
|
+
dest="mas_ws_facilities_vault_secret",
|
|
603
|
+
required=False,
|
|
604
|
+
help="Defines the name of the secret that holds the AES Encryption password",
|
|
605
|
+
)
|
|
606
|
+
facilitiesArgGroup.add_argument(
|
|
607
|
+
"--facilities-dwfagent",
|
|
608
|
+
dest="mas_ws_facilities_dwfagents",
|
|
609
|
+
required=False,
|
|
610
|
+
help="Defines the list of dedicates workflow agents",
|
|
611
|
+
type=str
|
|
612
|
+
)
|
|
613
|
+
facilitiesArgGroup.add_argument(
|
|
614
|
+
"--facilities-maxconnpoolsize",
|
|
615
|
+
dest="mas_ws_facilities_db_maxconnpoolsize",
|
|
616
|
+
required=False,
|
|
617
|
+
help="Defines the maximum connection pool size",
|
|
618
|
+
default=200,
|
|
619
|
+
)
|
|
620
|
+
facilitiesArgGroup.add_argument(
|
|
621
|
+
"--facilities-log-storage-class",
|
|
622
|
+
dest="mas_ws_facilities_storage_log_class",
|
|
623
|
+
required=False,
|
|
624
|
+
help="Defines the log storage class",
|
|
625
|
+
)
|
|
626
|
+
facilitiesArgGroup.add_argument(
|
|
627
|
+
"--facilities-log-storage-mode",
|
|
628
|
+
dest="mas_ws_facilities_storage_log_mode",
|
|
629
|
+
required=False,
|
|
630
|
+
help="Defines the log storage mode",
|
|
631
|
+
)
|
|
632
|
+
facilitiesArgGroup.add_argument(
|
|
633
|
+
"--facilities-log-storage-size",
|
|
634
|
+
dest="mas_ws_facilities_storage_log_size",
|
|
635
|
+
required=False,
|
|
636
|
+
help="Defines the logs storage size",
|
|
637
|
+
)
|
|
638
|
+
facilitiesArgGroup.add_argument(
|
|
639
|
+
"--facilities-userfiles-storage-class",
|
|
640
|
+
dest="mas_ws_facilities_storage_userfiles_class",
|
|
641
|
+
required=False,
|
|
642
|
+
help="Defines the user files storage class",
|
|
643
|
+
)
|
|
644
|
+
facilitiesArgGroup.add_argument(
|
|
645
|
+
"--facilities-userfiles-storage-mode",
|
|
646
|
+
dest="mas_ws_facilities_storage_userfiles_mode",
|
|
647
|
+
required=False,
|
|
648
|
+
help="Defines the user files storage mode",
|
|
649
|
+
)
|
|
650
|
+
facilitiesArgGroup.add_argument(
|
|
651
|
+
"--facilities-userfiles-storage-size",
|
|
652
|
+
dest="mas_ws_facilities_storage_userfiles_size",
|
|
653
|
+
required=False,
|
|
654
|
+
help="Defines the user files storage size",
|
|
655
|
+
)
|
|
656
|
+
|
|
654
657
|
# IBM Cloud Pak for Data
|
|
655
658
|
# -----------------------------------------------------------------------------
|
|
656
659
|
cpdAppsArgGroup = installArgParser.add_argument_group("IBM Cloud Pak for Data")
|
|
@@ -669,18 +672,34 @@ cpdAppsArgGroup.add_argument(
|
|
|
669
672
|
const="install"
|
|
670
673
|
)
|
|
671
674
|
cpdAppsArgGroup.add_argument(
|
|
672
|
-
"--cp4d-install-
|
|
673
|
-
dest="
|
|
675
|
+
"--cp4d-install-cognos",
|
|
676
|
+
dest="cpd_install_cognos",
|
|
677
|
+
required=False,
|
|
678
|
+
help="Add Cognos as part of Cloud Pak for Data",
|
|
679
|
+
action="store_const",
|
|
680
|
+
const="install"
|
|
681
|
+
)
|
|
682
|
+
cpdAppsArgGroup.add_argument(
|
|
683
|
+
"--cp4d-install-ws",
|
|
684
|
+
dest="cpd_install_ws",
|
|
674
685
|
required=False,
|
|
675
|
-
help="Add Watson
|
|
686
|
+
help="Add Watson Studio as part of Cloud Pak for Data",
|
|
676
687
|
action="store_const",
|
|
677
688
|
const="install"
|
|
678
689
|
)
|
|
679
690
|
cpdAppsArgGroup.add_argument(
|
|
680
|
-
"--cp4d-install-
|
|
681
|
-
dest="
|
|
691
|
+
"--cp4d-install-wml",
|
|
692
|
+
dest="cpd_install_wml",
|
|
682
693
|
required=False,
|
|
683
|
-
help="Add
|
|
694
|
+
help="Add Watson Machine Learning as part of Cloud Pak for Data",
|
|
695
|
+
action="store_const",
|
|
696
|
+
const="install"
|
|
697
|
+
)
|
|
698
|
+
cpdAppsArgGroup.add_argument(
|
|
699
|
+
"--cp4d-install-ae",
|
|
700
|
+
dest="cpd_install_ae",
|
|
701
|
+
required=False,
|
|
702
|
+
help="Add Spark Analytics Engine as part of Cloud Pak for Data",
|
|
684
703
|
action="store_const",
|
|
685
704
|
const="install"
|
|
686
705
|
)
|
|
@@ -714,6 +733,14 @@ db2ArgGroup.add_argument(
|
|
|
714
733
|
action="store_const",
|
|
715
734
|
const="install"
|
|
716
735
|
)
|
|
736
|
+
db2ArgGroup.add_argument(
|
|
737
|
+
"--db2-facilities",
|
|
738
|
+
dest="db2_action_facilities",
|
|
739
|
+
required=False,
|
|
740
|
+
help="Install a dedicated Db2u instance for Maximo Real Estate and Facilities (supported by Facilities)",
|
|
741
|
+
action="store_const",
|
|
742
|
+
const="install"
|
|
743
|
+
)
|
|
717
744
|
db2ArgGroup.add_argument(
|
|
718
745
|
"--db2-type",
|
|
719
746
|
required=False,
|
|
@@ -891,16 +918,19 @@ mskArgGroup.add_argument(
|
|
|
891
918
|
eventstreamsArgGroup = installArgParser.add_argument_group("Kafka - Event Streams")
|
|
892
919
|
eventstreamsArgGroup.add_argument(
|
|
893
920
|
"--eventstreams-resource-group",
|
|
921
|
+
dest="eventstreams_resourcegroup",
|
|
894
922
|
required=False,
|
|
895
923
|
help="Set IBM Cloud resource group to target the Event Streams instance provisioning"
|
|
896
924
|
)
|
|
897
925
|
eventstreamsArgGroup.add_argument(
|
|
898
926
|
"--eventstreams-instance-name",
|
|
927
|
+
dest="eventstreams_name",
|
|
899
928
|
required=False,
|
|
900
929
|
help="Set IBM Event Streams instance name"
|
|
901
930
|
)
|
|
902
931
|
eventstreamsArgGroup.add_argument(
|
|
903
932
|
"--eventstreams-instance-location",
|
|
933
|
+
dest="eventstreams_location",
|
|
904
934
|
required=False,
|
|
905
935
|
help="Set IBM Event Streams instance location"
|
|
906
936
|
)
|
|
@@ -927,6 +957,18 @@ cosArgGroup.add_argument(
|
|
|
927
957
|
required=False,
|
|
928
958
|
help="When using IBM COS, set COS priviledged apikey for IBM Cloud"
|
|
929
959
|
)
|
|
960
|
+
cosArgGroup.add_argument(
|
|
961
|
+
"--cos-instance-name",
|
|
962
|
+
dest="cos_instance_name",
|
|
963
|
+
required=False,
|
|
964
|
+
help="When using IBM COS, set COS instance name to be used/created"
|
|
965
|
+
)
|
|
966
|
+
cosArgGroup.add_argument(
|
|
967
|
+
"--cos-bucket-name",
|
|
968
|
+
dest="cos_bucket_name",
|
|
969
|
+
required=False,
|
|
970
|
+
help="When using IBM COS, set COS bucket name to be used/created"
|
|
971
|
+
)
|
|
930
972
|
|
|
931
973
|
# Turbonomic Integration
|
|
932
974
|
# -----------------------------------------------------------------------------
|
|
@@ -1007,7 +1049,7 @@ devArgGroup.add_argument(
|
|
|
1007
1049
|
|
|
1008
1050
|
# Approvals
|
|
1009
1051
|
# -----------------------------------------------------------------------------
|
|
1010
|
-
approvalsGroup = installArgParser.add_argument_group("Integrated Approval Workflow (
|
|
1052
|
+
approvalsGroup = installArgParser.add_argument_group("Integrated Approval Workflow (MAX_RETRIES:RETRY_DELAY:IGNORE_FAILURE)")
|
|
1011
1053
|
approvalsGroup.add_argument(
|
|
1012
1054
|
"--approval-core",
|
|
1013
1055
|
default="",
|
|
@@ -1048,6 +1090,11 @@ approvalsGroup.add_argument(
|
|
|
1048
1090
|
default="",
|
|
1049
1091
|
help="Require approval after the Maximo Visual Inspection workspace has been configured"
|
|
1050
1092
|
)
|
|
1093
|
+
approvalsGroup.add_argument(
|
|
1094
|
+
"--approval-facilities",
|
|
1095
|
+
default="",
|
|
1096
|
+
help="Require approval after the Maximo Real Estate and Facilities workspace has been configured"
|
|
1097
|
+
)
|
|
1051
1098
|
|
|
1052
1099
|
|
|
1053
1100
|
# More Options
|
|
@@ -1110,6 +1157,12 @@ otherArgGroup.add_argument(
|
|
|
1110
1157
|
required=False,
|
|
1111
1158
|
help="Manually set the image pull policy used in the Tekton Pipeline",
|
|
1112
1159
|
)
|
|
1160
|
+
otherArgGroup.add_argument(
|
|
1161
|
+
"--service-account",
|
|
1162
|
+
dest="service_account_name",
|
|
1163
|
+
required=False,
|
|
1164
|
+
help="Run the install pipeline under a custom service account (also disables creation of the default 'pipeline' service account)",
|
|
1165
|
+
)
|
|
1113
1166
|
|
|
1114
1167
|
otherArgGroup.add_argument(
|
|
1115
1168
|
"-h", "--help",
|
mas/cli/install/catalogs.py
CHANGED
|
@@ -9,13 +9,18 @@
|
|
|
9
9
|
# *****************************************************************************
|
|
10
10
|
supportedCatalogs = {
|
|
11
11
|
"amd64": [
|
|
12
|
-
"v9-
|
|
13
|
-
"v9-
|
|
14
|
-
"v9-
|
|
15
|
-
"v9-
|
|
12
|
+
"v9-250624-amd64",
|
|
13
|
+
"v9-250501-amd64",
|
|
14
|
+
"v9-250403-amd64",
|
|
15
|
+
"v9-250306-amd64",
|
|
16
16
|
],
|
|
17
17
|
"s390x": [
|
|
18
|
-
"v9-
|
|
19
|
-
"v9-
|
|
18
|
+
"v9-250624-s390x",
|
|
19
|
+
"v9-250501-s390x",
|
|
20
|
+
"v9-250403-s390x",
|
|
21
|
+
"v9-250306-s390x",
|
|
22
|
+
],
|
|
23
|
+
"ppc64le": [
|
|
24
|
+
"v9-250624-ppc64le",
|
|
20
25
|
],
|
|
21
26
|
}
|