mas-cli 11.1.3__py3-none-any.whl → 11.2.1__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/cli.py +1 -1
- mas/cli/templates/ibm-mas-tekton.yaml +268 -206
- mas/cli/update/app.py +17 -13
- {mas_cli-11.1.3.dist-info → mas_cli-11.2.1.dist-info}/METADATA +1 -1
- {mas_cli-11.1.3.dist-info → mas_cli-11.2.1.dist-info}/RECORD +9 -9
- {mas_cli-11.1.3.data → mas_cli-11.2.1.data}/scripts/mas-cli +0 -0
- {mas_cli-11.1.3.dist-info → mas_cli-11.2.1.dist-info}/WHEEL +0 -0
- {mas_cli-11.1.3.dist-info → mas_cli-11.2.1.dist-info}/top_level.txt +0 -0
mas/cli/update/app.py
CHANGED
|
@@ -52,7 +52,8 @@ class UpdateApp(BaseApp):
|
|
|
52
52
|
"kafka_provider",
|
|
53
53
|
"dro_migration",
|
|
54
54
|
"dro_storage_class",
|
|
55
|
-
"dro_namespace"
|
|
55
|
+
"dro_namespace",
|
|
56
|
+
"skip_pre_check"
|
|
56
57
|
]
|
|
57
58
|
for key, value in vars(self.args).items():
|
|
58
59
|
# These fields we just pass straight through to the parameters and fail if they are not set
|
|
@@ -67,7 +68,7 @@ class UpdateApp(BaseApp):
|
|
|
67
68
|
self.setParam(key, value)
|
|
68
69
|
|
|
69
70
|
# Arguments that we don't need to do anything with
|
|
70
|
-
elif key in [
|
|
71
|
+
elif key in [ "no_confirm", "help"]:
|
|
71
72
|
pass
|
|
72
73
|
|
|
73
74
|
# Fail if there's any arguments we don't know how to handle
|
|
@@ -166,7 +167,6 @@ class UpdateApp(BaseApp):
|
|
|
166
167
|
"Please carefully review your choices above, correcting mistakes now is much easier than after the update has begun"
|
|
167
168
|
])
|
|
168
169
|
continueWithUpdate = self.yesOrNo("Proceed with these settings")
|
|
169
|
-
|
|
170
170
|
# Prepare the namespace and launch the installation pipeline
|
|
171
171
|
if self.noConfirm or continueWithUpdate:
|
|
172
172
|
self.createTektonFileWithDigest()
|
|
@@ -425,16 +425,20 @@ class UpdateApp(BaseApp):
|
|
|
425
425
|
else:
|
|
426
426
|
h.stop_and_persist(symbol=self.successIcon, text="IBM User Data Services needs to be migrated to IBM Data Reporter Operator")
|
|
427
427
|
self.showUDSUpdateNotice()
|
|
428
|
-
if
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
428
|
+
if self.getParam("dro_migration") == "true" and self.getParam("dro_storage_class") is None:
|
|
429
|
+
if not self.yesOrNo("Confirm migration from UDS to DRO", "dro_migration"):
|
|
430
|
+
# If the user did not approve the update, abort
|
|
431
|
+
exit(1)
|
|
432
|
+
self.printDescription([
|
|
433
|
+
"",
|
|
434
|
+
"Select the storage class for DRO to use from the list below:"
|
|
435
|
+
])
|
|
436
|
+
for storageClass in getStorageClasses(self.dynamicClient):
|
|
437
|
+
print_formatted_text(HTML(f"<LightSlateGrey> - {storageClass.metadata.name}</LightSlateGrey>"))
|
|
438
|
+
self.promptForString("DRO storage class", "dro_storage_class", validator=StorageClassValidator())
|
|
439
|
+
|
|
440
|
+
if self.getParam("dro_migration") == "true":
|
|
441
|
+
self.setParam("uds_action", "install-dro")
|
|
438
442
|
|
|
439
443
|
except (ResourceNotFoundError, NotFoundError) as e:
|
|
440
444
|
# UDS has never been installed on this cluster
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
mas/cli/__init__.py,sha256=
|
|
2
|
-
mas/cli/cli.py,sha256=
|
|
1
|
+
mas/cli/__init__.py,sha256=PJb41tKrxyi99cgpG_QiN32t9ZrWGocVH2HeKnfaZjw,526
|
|
2
|
+
mas/cli/cli.py,sha256=wm7Ptd8zC8Uc1ZvIvY7h6lQDgFXjm8S3DNy0zWbKCZ4,14563
|
|
3
3
|
mas/cli/displayMixins.py,sha256=ygDJ8KPLdJpip_JQ4JDPWbvo7ZIdsOZQfQoVnMdAauM,5594
|
|
4
4
|
mas/cli/gencfg.py,sha256=57ik5x73gQBFXPl_8h2byXmV_vhCgxfeSDZk4Wg5-Pw,2102
|
|
5
5
|
mas/cli/validators.py,sha256=vi1pFA8QtqMhqtGk1NlkkNDUrlFCi53kS5wJqFGDgOU,5108
|
|
@@ -14,7 +14,7 @@ mas/cli/install/settings/db2Settings.py,sha256=mR0XL81Talvwvm1bekw0o9VOwV42QkS0j
|
|
|
14
14
|
mas/cli/install/settings/kafkaSettings.py,sha256=bjAji5OZfSBpttiYHKM5B5Lvva8L8PUzi8QSs6opQcE,6997
|
|
15
15
|
mas/cli/install/settings/manageSettings.py,sha256=TSByaLXVF9hRH0hqhX-eBc7dIHrOf4zgviOq2YrjSHc,13658
|
|
16
16
|
mas/cli/install/settings/turbonomicSettings.py,sha256=eqMDocZxJnGEnWh41Yh8rmmVKVR_JnA8qrbfRrFAOaQ,1588
|
|
17
|
-
mas/cli/templates/ibm-mas-tekton.yaml,sha256=
|
|
17
|
+
mas/cli/templates/ibm-mas-tekton.yaml,sha256=G289umEXq13RQx_EIC7WsYq9vQrdHpsNqfmAv3izAbA,714707
|
|
18
18
|
mas/cli/templates/jdbccfg.yml.j2,sha256=cANbwkUkKEPQp-P3_BB_Llbt94457Ciagah2hOdySIM,1644
|
|
19
19
|
mas/cli/templates/pod-templates/best-effort/ibm-data-dictionary-assetdatadictionary.yml,sha256=8VG_FDFcEjWNaAOZTcS58Pe0tWOXC10SJLloNqzEMC8,757
|
|
20
20
|
mas/cli/templates/pod-templates/best-effort/ibm-mas-bascfg.yml,sha256=rkq8c2pVJoskgict9tCZzCchGSE2MBC-dJ47JyMYm7A,1559
|
|
@@ -90,13 +90,13 @@ mas/cli/uninstall/__init__.py,sha256=tGH_qJ5ZqcSFpIlObRiye3Y-r4zU8rEplYFjwuHwBTY
|
|
|
90
90
|
mas/cli/uninstall/app.py,sha256=obuGe-czCnXpa7j_N8QC9zZBuD0s3xXmNRUWt-f6omI,9981
|
|
91
91
|
mas/cli/uninstall/argParser.py,sha256=VO6_u8Qv_munelgZMxBw9mdJBwF_9j688b6nUxQD2RM,3298
|
|
92
92
|
mas/cli/update/__init__.py,sha256=tGH_qJ5ZqcSFpIlObRiye3Y-r4zU8rEplYFjwuHwBTY,494
|
|
93
|
-
mas/cli/update/app.py,sha256=
|
|
93
|
+
mas/cli/update/app.py,sha256=dejW8lJ4zb91Ce1gLMEkj_ninBBwok6Aul8aKn7lNcg,37003
|
|
94
94
|
mas/cli/update/argParser.py,sha256=Xm0qXmMrCZH-ikVYlKVlp7g0cbwCavXDwtwRKZ_t8vQ,3843
|
|
95
95
|
mas/cli/upgrade/__init__.py,sha256=tGH_qJ5ZqcSFpIlObRiye3Y-r4zU8rEplYFjwuHwBTY,494
|
|
96
96
|
mas/cli/upgrade/app.py,sha256=AjRI1uCVfl--edonhUb9ZTrp_QifJTQPp-ORT1S_uO8,5375
|
|
97
97
|
mas/cli/upgrade/argParser.py,sha256=jl8SU0mXDMAkpfqXaKE4MPNUmVoD0LSsvMUSJjU1dbQ,1881
|
|
98
|
-
mas_cli-11.1.
|
|
99
|
-
mas_cli-11.1.
|
|
100
|
-
mas_cli-11.1.
|
|
101
|
-
mas_cli-11.1.
|
|
102
|
-
mas_cli-11.1.
|
|
98
|
+
mas_cli-11.2.1.data/scripts/mas-cli,sha256=sEPYV6KUzcq4ukiTM4tMLsYKv-d9Ms0aJI9Uhjg_G9Y,3436
|
|
99
|
+
mas_cli-11.2.1.dist-info/METADATA,sha256=cgHDVjqqtIjfAqem2OZ0htJAZoGqrFn0UqqZYC-XZu0,2076
|
|
100
|
+
mas_cli-11.2.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
101
|
+
mas_cli-11.2.1.dist-info/top_level.txt,sha256=_Hlsp7pvMvyV14LFg-vk1hULq30j61EILnnxMFIhhc8,4
|
|
102
|
+
mas_cli-11.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|