mas-cli 11.1.3__py3-none-any.whl → 11.2.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/cli.py +1 -1
- mas/cli/templates/ibm-mas-tekton.yaml +267 -205
- mas/cli/update/app.py +14 -12
- {mas_cli-11.1.3.dist-info → mas_cli-11.2.0.dist-info}/METADATA +1 -1
- {mas_cli-11.1.3.dist-info → mas_cli-11.2.0.dist-info}/RECORD +9 -9
- {mas_cli-11.1.3.data → mas_cli-11.2.0.data}/scripts/mas-cli +0 -0
- {mas_cli-11.1.3.dist-info → mas_cli-11.2.0.dist-info}/WHEEL +0 -0
- {mas_cli-11.1.3.dist-info → mas_cli-11.2.0.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
|
|
@@ -425,16 +426,17 @@ class UpdateApp(BaseApp):
|
|
|
425
426
|
else:
|
|
426
427
|
h.stop_and_persist(symbol=self.successIcon, text="IBM User Data Services needs to be migrated to IBM Data Reporter Operator")
|
|
427
428
|
self.showUDSUpdateNotice()
|
|
428
|
-
if
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
429
|
+
if self.getParam("dro_migration") == "true" and self.getParam("dro_storage_class") is None:
|
|
430
|
+
if not self.yesOrNo("Confirm migration from UDS to DRO", "dro_migration"):
|
|
431
|
+
# If the user did not approve the update, abort
|
|
432
|
+
exit(1)
|
|
433
|
+
self.printDescription([
|
|
434
|
+
"",
|
|
435
|
+
"Select the storage class for DRO to use from the list below:"
|
|
436
|
+
])
|
|
437
|
+
for storageClass in getStorageClasses(self.dynamicClient):
|
|
438
|
+
print_formatted_text(HTML(f"<LightSlateGrey> - {storageClass.metadata.name}</LightSlateGrey>"))
|
|
439
|
+
self.promptForString("DRO storage class", "dro_storage_class", validator=StorageClassValidator())
|
|
438
440
|
|
|
439
441
|
except (ResourceNotFoundError, NotFoundError) as e:
|
|
440
442
|
# 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=wi5KISA_EkAoFIpguFVyGrBbq8rwihz-1PrCL8DrNhc,526
|
|
2
|
+
mas/cli/cli.py,sha256=pYOdDKxlDe0RhauiTiQ-bKzHybvzGjPKhWg4ciOZiAg,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=cNsX19EILKMWu16WqFdKr-z8mEcP9SQfEzWFSlk566g,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=3Qhxiaoj9fq9tN2_mYgoIQVW58tIkNE9widVprknK1E,36879
|
|
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.
|
|
99
|
-
mas_cli-11.
|
|
100
|
-
mas_cli-11.
|
|
101
|
-
mas_cli-11.
|
|
102
|
-
mas_cli-11.
|
|
98
|
+
mas_cli-11.2.0.data/scripts/mas-cli,sha256=sEPYV6KUzcq4ukiTM4tMLsYKv-d9Ms0aJI9Uhjg_G9Y,3436
|
|
99
|
+
mas_cli-11.2.0.dist-info/METADATA,sha256=HzBvrGmHKmGzaHQnJMQf9lNK04pjRVI_u7NpCCWP3iw,2076
|
|
100
|
+
mas_cli-11.2.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
101
|
+
mas_cli-11.2.0.dist-info/top_level.txt,sha256=_Hlsp7pvMvyV14LFg-vk1hULq30j61EILnnxMFIhhc8,4
|
|
102
|
+
mas_cli-11.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|