mas-cli 11.12.0__py3-none-any.whl → 12.0.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 +16 -1
- mas/cli/install/app.py +23 -65
- mas/cli/install/catalogs.py +3 -3
- mas/cli/templates/ibm-mas-tekton.yaml +154 -101
- mas/cli/upgrade/app.py +25 -1
- mas/cli/upgrade/argParser.py +6 -1
- {mas_cli-11.12.0.dist-info → mas_cli-12.0.0.dist-info}/METADATA +1 -1
- {mas_cli-11.12.0.dist-info → mas_cli-12.0.0.dist-info}/RECORD +12 -12
- {mas_cli-11.12.0.data → mas_cli-12.0.0.data}/scripts/mas-cli +0 -0
- {mas_cli-11.12.0.dist-info → mas_cli-12.0.0.dist-info}/WHEEL +0 -0
- {mas_cli-11.12.0.dist-info → mas_cli-12.0.0.dist-info}/top_level.txt +0 -0
mas/cli/__init__.py
CHANGED
mas/cli/cli.py
CHANGED
|
@@ -117,7 +117,7 @@ class BaseApp(PrintMixin, PromptMixin):
|
|
|
117
117
|
logging.getLogger('asyncio').setLevel(logging.INFO)
|
|
118
118
|
|
|
119
119
|
# Supports extended semver, unlike mas.cli.__version__
|
|
120
|
-
self.version = "
|
|
120
|
+
self.version = "12.0.0"
|
|
121
121
|
self.h1count = 0
|
|
122
122
|
self.h2count = 0
|
|
123
123
|
|
|
@@ -184,6 +184,21 @@ class BaseApp(PrintMixin, PromptMixin):
|
|
|
184
184
|
},
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
+
self.licenses = {
|
|
188
|
+
"8.9.x": " - <u>https://ibm.biz/MAS89-License</u>",
|
|
189
|
+
"8.10.x": " - <u>https://ibm.biz/MAS810-License</u>",
|
|
190
|
+
"8.11.x": " - <u>https://ibm.biz/MAS811-License</u>\n - <u>https://ibm.biz/MAXIT81-License</u>",
|
|
191
|
+
"9.0.x": " - <u>https://ibm.biz/MAS90-License</u>\n - <u>https://ibm.biz/MaximoIT90-License</u>\n - <u>https://ibm.biz/MAXArcGIS90-License</u>",
|
|
192
|
+
"9.1.x-feature": " - <u>https://ibm.biz/MAS90-License</u>\n - <u>https://ibm.biz/MaximoIT90-License</u>\n - <u>https://ibm.biz/MAXArcGIS90-License</u>\n\nBe aware, this channel subscription is supported for non-production use only. \nIt allows early access to new features for evaluation in non-production environments. \nThis subscription is offered alongside and in parallel with our normal maintained streams. \nWhen using this subscription, IBM Support will only accept cases for the latest available bundle deployed in a non-production environment. \nSeverity must be either 3 or 4 and cases cannot be escalated. \nPlease refer to IBM documentation for more details.\n",
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
self.upgrade_path = {
|
|
196
|
+
"9.0.x": "9.1.x-feature",
|
|
197
|
+
"8.11.x": "9.0.x",
|
|
198
|
+
"8.10.x": "8.11.x",
|
|
199
|
+
"8.9.x": "8.10.x",
|
|
200
|
+
}
|
|
201
|
+
|
|
187
202
|
self.spinner = {
|
|
188
203
|
"interval": 80,
|
|
189
204
|
"frames": [" ⠋", " ⠙", " ⠹", " ⠸", " ⠼", " ⠴", " ⠦", " ⠧", " ⠇", " ⠏"]
|
mas/cli/install/app.py
CHANGED
|
@@ -112,19 +112,11 @@ class InstallApp(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGe
|
|
|
112
112
|
|
|
113
113
|
@logMethodCall
|
|
114
114
|
def licensePrompt(self):
|
|
115
|
-
licenses = {
|
|
116
|
-
"8.9.x": " - <u>https://ibm.biz/MAS89-License</u>",
|
|
117
|
-
"8.10.x": " - <u>https://ibm.biz/MAS810-License</u>",
|
|
118
|
-
"8.11.x": " - <u>https://ibm.biz/MAS811-License</u>\n - <u>https://ibm.biz/MAXIT81-License</u>",
|
|
119
|
-
"9.0.x": " - <u>https://ibm.biz/MAS90-License</u>\n - <u>https://ibm.biz/MaximoIT90-License</u>\n - <u>https://ibm.biz/MAXArcGIS90-License</u>",
|
|
120
|
-
"9.1.x-feature": " - <u>https://ibm.biz/MAS90-License</u>\n - <u>https://ibm.biz/MaximoIT90-License</u>\n - <u>https://ibm.biz/MAXArcGIS90-License</u>\n\n - Be aware, this channel subscription is supported for non-production use only. It allows early access to new features for evaluation is non-production environments. This subscription is offered alongside and in parallel with our normal maintained streams. When using this subscription, IBM Support will only accept cases for the latest available bundle deployed in a non-production environment. Severity must be either 3 or 4 and cases cannot be escalated. Please refer to IBM documentation for more details.\n",
|
|
121
|
-
}
|
|
122
|
-
|
|
123
115
|
if not self.licenseAccepted:
|
|
124
116
|
self.printH1("License Terms")
|
|
125
117
|
self.printDescription([
|
|
126
118
|
"To continue with the installation, you must accept the license terms:",
|
|
127
|
-
licenses[self.getParam('mas_channel')]
|
|
119
|
+
self.licenses[self.getParam('mas_channel')]
|
|
128
120
|
])
|
|
129
121
|
|
|
130
122
|
if self.noConfirm:
|
|
@@ -175,62 +167,28 @@ class InstallApp(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGe
|
|
|
175
167
|
self.catalogCp4dVersion = self.chosenCatalog["cpd_product_version_default"]
|
|
176
168
|
self.catalogMongoDbVersion = self.chosenCatalog["mongo_extras_version_default"]
|
|
177
169
|
|
|
178
|
-
self.catalogReleases = [
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"": "Monitor",
|
|
203
|
-
"9.0.x": self.chosenCatalog["mas_monitor_version"]["9.0.x"],
|
|
204
|
-
"8.11.x": self.chosenCatalog["mas_monitor_version"]["8.11.x"],
|
|
205
|
-
"8.10.x": self.chosenCatalog["mas_monitor_version"]["8.10.x"]
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"": "Assist",
|
|
209
|
-
"9.0.x": self.chosenCatalog["mas_assist_version"]["9.0.x"],
|
|
210
|
-
"8.11.x": self.chosenCatalog["mas_assist_version"]["8.11.x"],
|
|
211
|
-
"8.10.x": self.chosenCatalog["mas_assist_version"]["8.10.x"]
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"": "Optimizer",
|
|
215
|
-
"9.1.x-feature": self.chosenCatalog["mas_optimizer_version"]["9.1.x-feature"],
|
|
216
|
-
"9.0.x": self.chosenCatalog["mas_optimizer_version"]["9.0.x"],
|
|
217
|
-
"8.11.x": self.chosenCatalog["mas_optimizer_version"]["8.11.x"],
|
|
218
|
-
"8.10.x": self.chosenCatalog["mas_optimizer_version"]["8.10.x"]
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"": "Predict",
|
|
222
|
-
"9.0.x": self.chosenCatalog["mas_predict_version"]["9.0.x"],
|
|
223
|
-
"8.11.x": self.chosenCatalog["mas_predict_version"]["8.11.x"],
|
|
224
|
-
"8.10.x": self.chosenCatalog["mas_predict_version"]["8.10.x"]
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"": "Inspection",
|
|
228
|
-
"9.1.x-feature": self.chosenCatalog["mas_visualinspection_version"]["9.1.x-feature"],
|
|
229
|
-
"9.0.x": self.chosenCatalog["mas_visualinspection_version"]["9.0.x"],
|
|
230
|
-
"8.11.x": self.chosenCatalog["mas_visualinspection_version"]["8.11.x"],
|
|
231
|
-
"8.10.x": self.chosenCatalog["mas_visualinspection_version"]["8.10.x"]
|
|
232
|
-
}
|
|
233
|
-
]
|
|
170
|
+
self.catalogReleases = []
|
|
171
|
+
self.catalogTable = []
|
|
172
|
+
|
|
173
|
+
applications = {
|
|
174
|
+
"Core": "mas_core_version",
|
|
175
|
+
"Manage": "mas_manage_version",
|
|
176
|
+
"IoT": "mas_iot_version",
|
|
177
|
+
"Monitor": "mas_monitor_version",
|
|
178
|
+
"Assist": "mas_assist_version",
|
|
179
|
+
"Optimizer": "mas_optimizer_version",
|
|
180
|
+
"Predict": "mas_predict_version",
|
|
181
|
+
"Inspection": "mas_visualinspection_version",
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
# Dynamically fetch the channels from the chosen catalog
|
|
185
|
+
# based on mas core
|
|
186
|
+
for channel in self.chosenCatalog["mas_core_version"]:
|
|
187
|
+
self.catalogReleases.append(channel)
|
|
188
|
+
|
|
189
|
+
# Generate catalogTable
|
|
190
|
+
for application, key in applications.items():
|
|
191
|
+
self.catalogTable.append({"": application} | self.chosenCatalog[key])
|
|
234
192
|
|
|
235
193
|
summary = [
|
|
236
194
|
"",
|
mas/cli/install/catalogs.py
CHANGED
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
# *****************************************************************************
|
|
10
10
|
supportedCatalogs = {
|
|
11
11
|
"amd64": [
|
|
12
|
+
"v9-241205-amd64",
|
|
12
13
|
"v9-241107-amd64",
|
|
13
14
|
"v9-241003-amd64",
|
|
14
15
|
"v9-240827-amd64",
|
|
15
|
-
"v9-241205-amd64"
|
|
16
16
|
],
|
|
17
17
|
"s390x": [
|
|
18
|
+
"v9-241205-s390x",
|
|
18
19
|
"v9-241107-s390x",
|
|
19
|
-
|
|
20
|
-
]
|
|
20
|
+
],
|
|
21
21
|
}
|
|
@@ -231,7 +231,7 @@ spec:
|
|
|
231
231
|
command:
|
|
232
232
|
- /opt/app-root/src/run-role.sh
|
|
233
233
|
- aibroker
|
|
234
|
-
image: quay.io/ibmmas/cli:
|
|
234
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
235
235
|
imagePullPolicy: $(params.image_pull_policy)
|
|
236
236
|
# --------------------------------------------------------------------------------
|
|
237
237
|
# /home/runner/work/cli/cli/tekton/target/tasks/appconnect.yaml
|
|
@@ -342,7 +342,7 @@ spec:
|
|
|
342
342
|
command:
|
|
343
343
|
- /opt/app-root/src/run-role.sh
|
|
344
344
|
- appconnect
|
|
345
|
-
image: quay.io/ibmmas/cli:
|
|
345
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
346
346
|
imagePullPolicy: $(params.image_pull_policy)
|
|
347
347
|
workingDir: /workspace/configs
|
|
348
348
|
|
|
@@ -460,7 +460,7 @@ spec:
|
|
|
460
460
|
command:
|
|
461
461
|
- /opt/app-root/src/run-role.sh
|
|
462
462
|
- arcgis
|
|
463
|
-
image: quay.io/ibmmas/cli:
|
|
463
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
464
464
|
imagePullPolicy: $(params.image_pull_policy)
|
|
465
465
|
# --------------------------------------------------------------------------------
|
|
466
466
|
# /home/runner/work/cli/cli/tekton/target/tasks/cert-manager.yaml
|
|
@@ -530,7 +530,7 @@ spec:
|
|
|
530
530
|
command:
|
|
531
531
|
- /opt/app-root/src/run-role.sh
|
|
532
532
|
- cert_manager
|
|
533
|
-
image: quay.io/ibmmas/cli:
|
|
533
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
534
534
|
imagePullPolicy: $(params.image_pull_policy)
|
|
535
535
|
workingDir: /workspace/configs
|
|
536
536
|
# --------------------------------------------------------------------------------
|
|
@@ -596,7 +596,7 @@ spec:
|
|
|
596
596
|
command:
|
|
597
597
|
- /opt/app-root/src/run-role.sh
|
|
598
598
|
- common_services
|
|
599
|
-
image: quay.io/ibmmas/cli:
|
|
599
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
600
600
|
imagePullPolicy: $(params.image_pull_policy)
|
|
601
601
|
workingDir: /workspace/configs
|
|
602
602
|
# --------------------------------------------------------------------------------
|
|
@@ -723,7 +723,7 @@ spec:
|
|
|
723
723
|
command:
|
|
724
724
|
- /opt/app-root/src/run-role.sh
|
|
725
725
|
- cos
|
|
726
|
-
image: quay.io/ibmmas/cli:
|
|
726
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
727
727
|
imagePullPolicy: $(params.image_pull_policy)
|
|
728
728
|
workingDir: /workspace/configs
|
|
729
729
|
|
|
@@ -843,7 +843,7 @@ spec:
|
|
|
843
843
|
command:
|
|
844
844
|
- /opt/app-root/src/run-role.sh
|
|
845
845
|
- cp4d_service
|
|
846
|
-
image: quay.io/ibmmas/cli:
|
|
846
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
847
847
|
imagePullPolicy: $(params.image_pull_policy)
|
|
848
848
|
workingDir: /workspace/configs
|
|
849
849
|
# --------------------------------------------------------------------------------
|
|
@@ -960,7 +960,7 @@ spec:
|
|
|
960
960
|
command:
|
|
961
961
|
- /opt/app-root/src/run-role.sh
|
|
962
962
|
- cp4d_service
|
|
963
|
-
image: quay.io/ibmmas/cli:
|
|
963
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
964
964
|
imagePullPolicy: $(params.image_pull_policy)
|
|
965
965
|
workingDir: /workspace/configs
|
|
966
966
|
|
|
@@ -1066,7 +1066,7 @@ spec:
|
|
|
1066
1066
|
command:
|
|
1067
1067
|
- /opt/app-root/src/run-role.sh
|
|
1068
1068
|
- cp4d
|
|
1069
|
-
image: quay.io/ibmmas/cli:
|
|
1069
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
1070
1070
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1071
1071
|
# --------------------------------------------------------------------------------
|
|
1072
1072
|
# /home/runner/work/cli/cli/tekton/target/tasks/db2.yaml
|
|
@@ -1388,7 +1388,7 @@ spec:
|
|
|
1388
1388
|
command:
|
|
1389
1389
|
- /opt/app-root/src/run-role.sh
|
|
1390
1390
|
- db2
|
|
1391
|
-
image: quay.io/ibmmas/cli:
|
|
1391
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
1392
1392
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1393
1393
|
workingDir: /workspace/configs
|
|
1394
1394
|
|
|
@@ -1498,7 +1498,7 @@ spec:
|
|
|
1498
1498
|
command:
|
|
1499
1499
|
- /opt/app-root/src/run-role.sh
|
|
1500
1500
|
- eck
|
|
1501
|
-
image: quay.io/ibmmas/cli:
|
|
1501
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
1502
1502
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1503
1503
|
# --------------------------------------------------------------------------------
|
|
1504
1504
|
# /home/runner/work/cli/cli/tekton/target/tasks/gencfg-workspace.yaml
|
|
@@ -1587,7 +1587,7 @@ spec:
|
|
|
1587
1587
|
command:
|
|
1588
1588
|
- /opt/app-root/src/run-role.sh
|
|
1589
1589
|
- gencfg_workspace
|
|
1590
|
-
image: quay.io/ibmmas/cli:
|
|
1590
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
1591
1591
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1592
1592
|
workingDir: /workspace/configs
|
|
1593
1593
|
|
|
@@ -1691,7 +1691,7 @@ spec:
|
|
|
1691
1691
|
- -c
|
|
1692
1692
|
name: gitops-bootstrap
|
|
1693
1693
|
imagePullPolicy: IfNotPresent
|
|
1694
|
-
image: quay.io/ibmmas/cli:
|
|
1694
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
1695
1695
|
workspaces:
|
|
1696
1696
|
- name: configs
|
|
1697
1697
|
# --------------------------------------------------------------------------------
|
|
@@ -1773,7 +1773,7 @@ spec:
|
|
|
1773
1773
|
- -c
|
|
1774
1774
|
name: gitops-cis-compliance
|
|
1775
1775
|
imagePullPolicy: IfNotPresent
|
|
1776
|
-
image: quay.io/ibmmas/cli:
|
|
1776
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
1777
1777
|
workspaces:
|
|
1778
1778
|
- name: configs
|
|
1779
1779
|
# --------------------------------------------------------------------------------
|
|
@@ -1869,6 +1869,20 @@ spec:
|
|
|
1869
1869
|
- name: redhat_cert_manager_install_plan
|
|
1870
1870
|
type: string
|
|
1871
1871
|
default: "Automatic"
|
|
1872
|
+
|
|
1873
|
+
- name: group_sync_operator_cron_schedule
|
|
1874
|
+
type: string
|
|
1875
|
+
default: ''
|
|
1876
|
+
- name: group_sync_operator_isv_tenant_url
|
|
1877
|
+
type: string
|
|
1878
|
+
default: ''
|
|
1879
|
+
- name: group_sync_operator_isv_groups
|
|
1880
|
+
type: string
|
|
1881
|
+
default: ''
|
|
1882
|
+
- name: ibm_rbac_binding_to_group
|
|
1883
|
+
type: string
|
|
1884
|
+
default: ''
|
|
1885
|
+
|
|
1872
1886
|
stepTemplate:
|
|
1873
1887
|
name: gitops-cluster
|
|
1874
1888
|
env:
|
|
@@ -1939,6 +1953,15 @@ spec:
|
|
|
1939
1953
|
- name: REDHAT_CERT_MANAGER_INSTALL_PLAN
|
|
1940
1954
|
value: $(params.redhat_cert_manager_install_plan)
|
|
1941
1955
|
|
|
1956
|
+
- name: GROUP_SYNC_OPERATOR_CRON_SCHEDULE
|
|
1957
|
+
value: $(params.group_sync_operator_cron_schedule)
|
|
1958
|
+
- name: GROUP_SYNC_OPERATOR_ISV_TENANT_URL
|
|
1959
|
+
value: $(params.group_sync_operator_isv_tenant_url)
|
|
1960
|
+
- name: GROUP_SYNC_OPERATOR_ISV_GROUPS
|
|
1961
|
+
value: $(params.group_sync_operator_isv_groups)
|
|
1962
|
+
- name: IBM_RBAC_BINDING_TO_GROUP
|
|
1963
|
+
value: $(params.ibm_rbac_binding_to_group)
|
|
1964
|
+
|
|
1942
1965
|
envFrom:
|
|
1943
1966
|
- configMapRef:
|
|
1944
1967
|
name: environment-properties
|
|
@@ -1969,6 +1992,16 @@ spec:
|
|
|
1969
1992
|
export CLUSTER_PROMOTION=true
|
|
1970
1993
|
fi
|
|
1971
1994
|
|
|
1995
|
+
if [[ -n "${GROUP_SYNC_OPERATOR_ISV_GROUPS}" ]];then
|
|
1996
|
+
echo "Setting var INSTALL_GROUP_SYNC_OPERATOR to true as var GROUP_SYNC_OPERATOR_ISV_GROUPS is set"
|
|
1997
|
+
export INSTALL_GROUP_SYNC_OPERATOR=true
|
|
1998
|
+
fi
|
|
1999
|
+
|
|
2000
|
+
if [[ -n "${IBM_RBAC_BINDING_TO_GROUP}" ]];then
|
|
2001
|
+
echo "Setting var INSTALL_IBM_RBAC to true as var IBM_RBAC_BINDING_TO_GROUP is set"
|
|
2002
|
+
export INSTALL_IBM_RBAC=true
|
|
2003
|
+
fi
|
|
2004
|
+
|
|
1972
2005
|
mkdir -p /tmp/init-cluster
|
|
1973
2006
|
mas gitops-cluster -a $ACCOUNT -c $CLUSTER_NAME \
|
|
1974
2007
|
--dir /tmp/init-cluster \
|
|
@@ -1985,7 +2018,7 @@ spec:
|
|
|
1985
2018
|
- -c
|
|
1986
2019
|
name: gitops-cluster
|
|
1987
2020
|
imagePullPolicy: Always
|
|
1988
|
-
image: quay.io/ibmmas/cli:
|
|
2021
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
1989
2022
|
workspaces:
|
|
1990
2023
|
- name: configs
|
|
1991
2024
|
# --------------------------------------------------------------------------------
|
|
@@ -2088,7 +2121,7 @@ spec:
|
|
|
2088
2121
|
- -c
|
|
2089
2122
|
name: gitops-cos
|
|
2090
2123
|
imagePullPolicy: IfNotPresent
|
|
2091
|
-
image: quay.io/ibmmas/cli:
|
|
2124
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
2092
2125
|
workspaces:
|
|
2093
2126
|
- name: configs
|
|
2094
2127
|
# --------------------------------------------------------------------------------
|
|
@@ -2236,7 +2269,7 @@ spec:
|
|
|
2236
2269
|
- -c
|
|
2237
2270
|
name: gitops-cp4d-service
|
|
2238
2271
|
imagePullPolicy: IfNotPresent
|
|
2239
|
-
image: quay.io/ibmmas/cli:
|
|
2272
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
2240
2273
|
workspaces:
|
|
2241
2274
|
- name: configs
|
|
2242
2275
|
- name: shared-gitops-configs
|
|
@@ -2365,7 +2398,7 @@ spec:
|
|
|
2365
2398
|
- -c
|
|
2366
2399
|
name: gitops-cp4d
|
|
2367
2400
|
imagePullPolicy: IfNotPresent
|
|
2368
|
-
image: quay.io/ibmmas/cli:
|
|
2401
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
2369
2402
|
workspaces:
|
|
2370
2403
|
- name: configs
|
|
2371
2404
|
- name: shared-gitops-configs
|
|
@@ -2626,7 +2659,7 @@ spec:
|
|
|
2626
2659
|
- -c
|
|
2627
2660
|
name: gitops-db2u-database
|
|
2628
2661
|
imagePullPolicy: Always
|
|
2629
|
-
image: quay.io/ibmmas/cli:
|
|
2662
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
2630
2663
|
workspaces:
|
|
2631
2664
|
- name: configs
|
|
2632
2665
|
- name: shared-gitops-configs
|
|
@@ -2724,7 +2757,7 @@ spec:
|
|
|
2724
2757
|
- -c
|
|
2725
2758
|
name: gitops-db2u
|
|
2726
2759
|
imagePullPolicy: IfNotPresent
|
|
2727
|
-
image: quay.io/ibmmas/cli:
|
|
2760
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
2728
2761
|
workspaces:
|
|
2729
2762
|
- name: configs
|
|
2730
2763
|
# --------------------------------------------------------------------------------
|
|
@@ -2851,7 +2884,7 @@ spec:
|
|
|
2851
2884
|
- -c
|
|
2852
2885
|
name: gitops-delete-jdbc-config
|
|
2853
2886
|
imagePullPolicy: IfNotPresent
|
|
2854
|
-
image: quay.io/ibmmas/cli:
|
|
2887
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
2855
2888
|
workspaces:
|
|
2856
2889
|
- name: configs
|
|
2857
2890
|
# --------------------------------------------------------------------------------
|
|
@@ -2949,7 +2982,7 @@ spec:
|
|
|
2949
2982
|
- -c
|
|
2950
2983
|
name: gitops-delete-kafka-config
|
|
2951
2984
|
imagePullPolicy: Always
|
|
2952
|
-
image: quay.io/ibmmas/cli:
|
|
2985
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
2953
2986
|
workspaces:
|
|
2954
2987
|
- name: configs
|
|
2955
2988
|
|
|
@@ -3041,7 +3074,7 @@ spec:
|
|
|
3041
3074
|
- -c
|
|
3042
3075
|
name: gitops-deprovision-app-config
|
|
3043
3076
|
imagePullPolicy: IfNotPresent
|
|
3044
|
-
image: quay.io/ibmmas/cli:
|
|
3077
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
3045
3078
|
workspaces:
|
|
3046
3079
|
- name: configs
|
|
3047
3080
|
# --------------------------------------------------------------------------------
|
|
@@ -3126,7 +3159,7 @@ spec:
|
|
|
3126
3159
|
- -c
|
|
3127
3160
|
name: gitops-deprovision-app-install
|
|
3128
3161
|
imagePullPolicy: IfNotPresent
|
|
3129
|
-
image: quay.io/ibmmas/cli:
|
|
3162
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
3130
3163
|
workspaces:
|
|
3131
3164
|
- name: configs
|
|
3132
3165
|
# --------------------------------------------------------------------------------
|
|
@@ -3211,7 +3244,7 @@ spec:
|
|
|
3211
3244
|
- -c
|
|
3212
3245
|
name: gitops-deprovision-cluster
|
|
3213
3246
|
imagePullPolicy: IfNotPresent
|
|
3214
|
-
image: quay.io/ibmmas/cli:
|
|
3247
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
3215
3248
|
workspaces:
|
|
3216
3249
|
- name: configs
|
|
3217
3250
|
# --------------------------------------------------------------------------------
|
|
@@ -3330,7 +3363,7 @@ spec:
|
|
|
3330
3363
|
- -c
|
|
3331
3364
|
name: gitops-deprovision-cos
|
|
3332
3365
|
imagePullPolicy: IfNotPresent
|
|
3333
|
-
image: quay.io/ibmmas/cli:
|
|
3366
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
3334
3367
|
workspaces:
|
|
3335
3368
|
- name: configs
|
|
3336
3369
|
# --------------------------------------------------------------------------------
|
|
@@ -3418,7 +3451,7 @@ spec:
|
|
|
3418
3451
|
- -c
|
|
3419
3452
|
name: gitops-deprovision-db2u-database
|
|
3420
3453
|
imagePullPolicy: IfNotPresent
|
|
3421
|
-
image: quay.io/ibmmas/cli:
|
|
3454
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
3422
3455
|
workspaces:
|
|
3423
3456
|
- name: configs
|
|
3424
3457
|
|
|
@@ -3501,7 +3534,7 @@ spec:
|
|
|
3501
3534
|
- -c
|
|
3502
3535
|
name: gitops-deprovision-db2u
|
|
3503
3536
|
imagePullPolicy: IfNotPresent
|
|
3504
|
-
image: quay.io/ibmmas/cli:
|
|
3537
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
3505
3538
|
workspaces:
|
|
3506
3539
|
- name: configs
|
|
3507
3540
|
|
|
@@ -3609,7 +3642,7 @@ spec:
|
|
|
3609
3642
|
- -c
|
|
3610
3643
|
name: gitops-deprovision-efs
|
|
3611
3644
|
imagePullPolicy: IfNotPresent
|
|
3612
|
-
image: quay.io/ibmmas/cli:
|
|
3645
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
3613
3646
|
workspaces:
|
|
3614
3647
|
- name: configs
|
|
3615
3648
|
|
|
@@ -3719,7 +3752,7 @@ spec:
|
|
|
3719
3752
|
- -c
|
|
3720
3753
|
name: gitops-deprovision-kafka
|
|
3721
3754
|
imagePullPolicy: IfNotPresent
|
|
3722
|
-
image: quay.io/ibmmas/cli:
|
|
3755
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
3723
3756
|
workspaces:
|
|
3724
3757
|
- name: configs
|
|
3725
3758
|
# --------------------------------------------------------------------------------
|
|
@@ -3822,7 +3855,7 @@ spec:
|
|
|
3822
3855
|
- -c
|
|
3823
3856
|
name: gitops-deprovision-mongo
|
|
3824
3857
|
imagePullPolicy: IfNotPresent
|
|
3825
|
-
image: quay.io/ibmmas/cli:
|
|
3858
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
3826
3859
|
workspaces:
|
|
3827
3860
|
- name: configs
|
|
3828
3861
|
|
|
@@ -3879,7 +3912,7 @@ spec:
|
|
|
3879
3912
|
- -c
|
|
3880
3913
|
name: gitops-deprovision-rosa
|
|
3881
3914
|
imagePullPolicy: IfNotPresent
|
|
3882
|
-
image: quay.io/ibmmas/cli:
|
|
3915
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
3883
3916
|
workspaces:
|
|
3884
3917
|
- name: configs
|
|
3885
3918
|
# --------------------------------------------------------------------------------
|
|
@@ -4084,7 +4117,7 @@ spec:
|
|
|
4084
4117
|
- -c
|
|
4085
4118
|
name: gitops-deprovision-suite-config
|
|
4086
4119
|
imagePullPolicy: IfNotPresent
|
|
4087
|
-
image: quay.io/ibmmas/cli:
|
|
4120
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
4088
4121
|
workspaces:
|
|
4089
4122
|
- name: configs
|
|
4090
4123
|
|
|
@@ -4182,7 +4215,7 @@ spec:
|
|
|
4182
4215
|
- -c
|
|
4183
4216
|
name: gitops-deprovision-suite-idp-config
|
|
4184
4217
|
imagePullPolicy: IfNotPresent
|
|
4185
|
-
image: quay.io/ibmmas/cli:
|
|
4218
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
4186
4219
|
workspaces:
|
|
4187
4220
|
- name: configs
|
|
4188
4221
|
# --------------------------------------------------------------------------------
|
|
@@ -4274,7 +4307,7 @@ spec:
|
|
|
4274
4307
|
- -c
|
|
4275
4308
|
name: gitops-deprovision-suite-objectstorage-config
|
|
4276
4309
|
imagePullPolicy: IfNotPresent
|
|
4277
|
-
image: quay.io/ibmmas/cli:
|
|
4310
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
4278
4311
|
workspaces:
|
|
4279
4312
|
- name: configs
|
|
4280
4313
|
# --------------------------------------------------------------------------------
|
|
@@ -4366,7 +4399,7 @@ spec:
|
|
|
4366
4399
|
- -c
|
|
4367
4400
|
name: gitops-deprovision-suite-smtp-config
|
|
4368
4401
|
imagePullPolicy: IfNotPresent
|
|
4369
|
-
image: quay.io/ibmmas/cli:
|
|
4402
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
4370
4403
|
workspaces:
|
|
4371
4404
|
- name: configs
|
|
4372
4405
|
# --------------------------------------------------------------------------------
|
|
@@ -4459,7 +4492,7 @@ spec:
|
|
|
4459
4492
|
- -c
|
|
4460
4493
|
name: gitops-deprovision-suite-watson-studio-config
|
|
4461
4494
|
imagePullPolicy: IfNotPresent
|
|
4462
|
-
image: quay.io/ibmmas/cli:
|
|
4495
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
4463
4496
|
workspaces:
|
|
4464
4497
|
- name: configs
|
|
4465
4498
|
# --------------------------------------------------------------------------------
|
|
@@ -4550,7 +4583,7 @@ spec:
|
|
|
4550
4583
|
- -c
|
|
4551
4584
|
name: gitops-deprovision-suite-workspace
|
|
4552
4585
|
imagePullPolicy: Always
|
|
4553
|
-
image: quay.io/ibmmas/cli:
|
|
4586
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
4554
4587
|
workspaces:
|
|
4555
4588
|
- name: configs
|
|
4556
4589
|
# --------------------------------------------------------------------------------
|
|
@@ -4643,7 +4676,7 @@ spec:
|
|
|
4643
4676
|
- -c
|
|
4644
4677
|
name: gitops-deprovision-suite
|
|
4645
4678
|
imagePullPolicy: IfNotPresent
|
|
4646
|
-
image: quay.io/ibmmas/cli:
|
|
4679
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
4647
4680
|
workspaces:
|
|
4648
4681
|
- name: configs
|
|
4649
4682
|
|
|
@@ -4756,7 +4789,7 @@ spec:
|
|
|
4756
4789
|
- -c
|
|
4757
4790
|
name: gitops-dro
|
|
4758
4791
|
imagePullPolicy: IfNotPresent
|
|
4759
|
-
image: quay.io/ibmmas/cli:
|
|
4792
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
4760
4793
|
workspaces:
|
|
4761
4794
|
- name: configs
|
|
4762
4795
|
# --------------------------------------------------------------------------------
|
|
@@ -4873,7 +4906,7 @@ spec:
|
|
|
4873
4906
|
- -c
|
|
4874
4907
|
name: gitops-efs
|
|
4875
4908
|
imagePullPolicy: IfNotPresent
|
|
4876
|
-
image: quay.io/ibmmas/cli:
|
|
4909
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
4877
4910
|
workspaces:
|
|
4878
4911
|
- name: configs
|
|
4879
4912
|
|
|
@@ -5008,7 +5041,7 @@ spec:
|
|
|
5008
5041
|
- -c
|
|
5009
5042
|
name: gitops-jdbc-config
|
|
5010
5043
|
imagePullPolicy: Always
|
|
5011
|
-
image: quay.io/ibmmas/cli:
|
|
5044
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
5012
5045
|
workspaces:
|
|
5013
5046
|
- name: configs
|
|
5014
5047
|
- name: shared-gitops-configs
|
|
@@ -5104,7 +5137,7 @@ spec:
|
|
|
5104
5137
|
- -c
|
|
5105
5138
|
name: gitops-kafka-config
|
|
5106
5139
|
imagePullPolicy: Always
|
|
5107
|
-
image: quay.io/ibmmas/cli:
|
|
5140
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
5108
5141
|
workspaces:
|
|
5109
5142
|
- name: configs
|
|
5110
5143
|
|
|
@@ -5226,7 +5259,7 @@ spec:
|
|
|
5226
5259
|
- -c
|
|
5227
5260
|
name: gitops-kafka
|
|
5228
5261
|
imagePullPolicy: IfNotPresent
|
|
5229
|
-
image: quay.io/ibmmas/cli:
|
|
5262
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
5230
5263
|
workspaces:
|
|
5231
5264
|
- name: configs
|
|
5232
5265
|
# --------------------------------------------------------------------------------
|
|
@@ -5352,7 +5385,7 @@ spec:
|
|
|
5352
5385
|
- -c
|
|
5353
5386
|
name: gitops-license
|
|
5354
5387
|
imagePullPolicy: Always
|
|
5355
|
-
image: quay.io/ibmmas/cli:
|
|
5388
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
5356
5389
|
workspaces:
|
|
5357
5390
|
- name: shared-entitlement
|
|
5358
5391
|
|
|
@@ -5855,7 +5888,7 @@ spec:
|
|
|
5855
5888
|
- -c
|
|
5856
5889
|
name: gitops-mas-fvt-preparer
|
|
5857
5890
|
imagePullPolicy: Always
|
|
5858
|
-
image: quay.io/ibmmas/cli:
|
|
5891
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
5859
5892
|
workspaces:
|
|
5860
5893
|
- name: configs
|
|
5861
5894
|
- name: shared-additional-configs
|
|
@@ -6297,7 +6330,7 @@ spec:
|
|
|
6297
6330
|
- -c
|
|
6298
6331
|
name: gitops-mas-initiator
|
|
6299
6332
|
imagePullPolicy: IfNotPresent
|
|
6300
|
-
image: quay.io/ibmmas/cli:
|
|
6333
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
6301
6334
|
workspaces:
|
|
6302
6335
|
- name: configs
|
|
6303
6336
|
# --------------------------------------------------------------------------------
|
|
@@ -6405,7 +6438,7 @@ spec:
|
|
|
6405
6438
|
- -c
|
|
6406
6439
|
name: gitops-mongo
|
|
6407
6440
|
imagePullPolicy: IfNotPresent
|
|
6408
|
-
image: quay.io/ibmmas/cli:
|
|
6441
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
6409
6442
|
workspaces:
|
|
6410
6443
|
- name: configs
|
|
6411
6444
|
|
|
@@ -6527,7 +6560,7 @@ spec:
|
|
|
6527
6560
|
- -c
|
|
6528
6561
|
name: gitops-nvidia-gpu
|
|
6529
6562
|
imagePullPolicy: IfNotPresent
|
|
6530
|
-
image: quay.io/ibmmas/cli:
|
|
6563
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
6531
6564
|
workspaces:
|
|
6532
6565
|
- name: configs
|
|
6533
6566
|
# --------------------------------------------------------------------------------
|
|
@@ -6645,7 +6678,7 @@ spec:
|
|
|
6645
6678
|
- -c
|
|
6646
6679
|
name: gitops-process-mongo-user
|
|
6647
6680
|
imagePullPolicy: IfNotPresent
|
|
6648
|
-
image: quay.io/ibmmas/cli:
|
|
6681
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
6649
6682
|
workspaces:
|
|
6650
6683
|
- name: configs
|
|
6651
6684
|
# --------------------------------------------------------------------------------
|
|
@@ -6701,7 +6734,7 @@ spec:
|
|
|
6701
6734
|
- -c
|
|
6702
6735
|
name: gitops-rosa
|
|
6703
6736
|
imagePullPolicy: IfNotPresent
|
|
6704
|
-
image: quay.io/ibmmas/cli:
|
|
6737
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
6705
6738
|
workspaces:
|
|
6706
6739
|
- name: configs
|
|
6707
6740
|
# --------------------------------------------------------------------------------
|
|
@@ -6888,7 +6921,7 @@ spec:
|
|
|
6888
6921
|
- -c
|
|
6889
6922
|
name: gitops-suite-app-config
|
|
6890
6923
|
imagePullPolicy: IfNotPresent
|
|
6891
|
-
image: quay.io/ibmmas/cli:
|
|
6924
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
6892
6925
|
workspaces:
|
|
6893
6926
|
- name: configs
|
|
6894
6927
|
- name: shared-gitops-configs
|
|
@@ -7046,7 +7079,7 @@ spec:
|
|
|
7046
7079
|
- -c
|
|
7047
7080
|
name: gitops-suite-app-install
|
|
7048
7081
|
imagePullPolicy: Always
|
|
7049
|
-
image: quay.io/ibmmas/cli:
|
|
7082
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
7050
7083
|
workspaces:
|
|
7051
7084
|
- name: configs
|
|
7052
7085
|
- name: shared-gitops-configs
|
|
@@ -7152,7 +7185,7 @@ spec:
|
|
|
7152
7185
|
- -c
|
|
7153
7186
|
name: gitops-suite-certs
|
|
7154
7187
|
imagePullPolicy: IfNotPresent
|
|
7155
|
-
image: quay.io/ibmmas/cli:
|
|
7188
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
7156
7189
|
workspaces:
|
|
7157
7190
|
- name: configs
|
|
7158
7191
|
- name: certificates
|
|
@@ -7322,7 +7355,7 @@ spec:
|
|
|
7322
7355
|
- -c
|
|
7323
7356
|
name: gitops-suite-config
|
|
7324
7357
|
imagePullPolicy: IfNotPresent
|
|
7325
|
-
image: quay.io/ibmmas/cli:
|
|
7358
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
7326
7359
|
workspaces:
|
|
7327
7360
|
- name: configs
|
|
7328
7361
|
- name: shared-additional-configs
|
|
@@ -7422,7 +7455,7 @@ spec:
|
|
|
7422
7455
|
- -c
|
|
7423
7456
|
name: gitops-suite-dns
|
|
7424
7457
|
imagePullPolicy: IfNotPresent
|
|
7425
|
-
image: quay.io/ibmmas/cli:
|
|
7458
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
7426
7459
|
workspaces:
|
|
7427
7460
|
- name: configs
|
|
7428
7461
|
|
|
@@ -7546,7 +7579,7 @@ spec:
|
|
|
7546
7579
|
- -c
|
|
7547
7580
|
name: gitops-suite-idp-config
|
|
7548
7581
|
imagePullPolicy: IfNotPresent
|
|
7549
|
-
image: quay.io/ibmmas/cli:
|
|
7582
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
7550
7583
|
workspaces:
|
|
7551
7584
|
- name: configs
|
|
7552
7585
|
- name: shared-additional-configs
|
|
@@ -7647,7 +7680,7 @@ spec:
|
|
|
7647
7680
|
- -c
|
|
7648
7681
|
name: gitops-suite-objectstorage-config
|
|
7649
7682
|
imagePullPolicy: IfNotPresent
|
|
7650
|
-
image: quay.io/ibmmas/cli:
|
|
7683
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
7651
7684
|
workspaces:
|
|
7652
7685
|
- name: configs
|
|
7653
7686
|
- name: shared-gitops-configs
|
|
@@ -7788,7 +7821,7 @@ spec:
|
|
|
7788
7821
|
- -c
|
|
7789
7822
|
name: gitops-suite-smtp-config
|
|
7790
7823
|
imagePullPolicy: IfNotPresent
|
|
7791
|
-
image: quay.io/ibmmas/cli:
|
|
7824
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
7792
7825
|
workspaces:
|
|
7793
7826
|
- name: configs
|
|
7794
7827
|
|
|
@@ -7897,7 +7930,7 @@ spec:
|
|
|
7897
7930
|
- -c
|
|
7898
7931
|
name: gitops-suite-watson-studio-config
|
|
7899
7932
|
imagePullPolicy: IfNotPresent
|
|
7900
|
-
image: quay.io/ibmmas/cli:
|
|
7933
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
7901
7934
|
workspaces:
|
|
7902
7935
|
- name: configs
|
|
7903
7936
|
- name: shared-gitops-configs
|
|
@@ -7994,7 +8027,7 @@ spec:
|
|
|
7994
8027
|
- -c
|
|
7995
8028
|
name: gitops-suite-workspace
|
|
7996
8029
|
imagePullPolicy: IfNotPresent
|
|
7997
|
-
image: quay.io/ibmmas/cli:
|
|
8030
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
7998
8031
|
workspaces:
|
|
7999
8032
|
- name: configs
|
|
8000
8033
|
# --------------------------------------------------------------------------------
|
|
@@ -8274,7 +8307,7 @@ spec:
|
|
|
8274
8307
|
- -c
|
|
8275
8308
|
name: gitops-suite
|
|
8276
8309
|
imagePullPolicy: IfNotPresent
|
|
8277
|
-
image: quay.io/ibmmas/cli:
|
|
8310
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
8278
8311
|
workspaces:
|
|
8279
8312
|
- name: configs
|
|
8280
8313
|
- name: shared-gitops-configs
|
|
@@ -8324,7 +8357,7 @@ spec:
|
|
|
8324
8357
|
|
|
8325
8358
|
steps:
|
|
8326
8359
|
- name: grafana
|
|
8327
|
-
image: quay.io/ibmmas/cli:
|
|
8360
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
8328
8361
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8329
8362
|
command:
|
|
8330
8363
|
- /opt/app-root/src/run-role.sh
|
|
@@ -8458,7 +8491,7 @@ spec:
|
|
|
8458
8491
|
command:
|
|
8459
8492
|
- /opt/app-root/src/run-role.sh
|
|
8460
8493
|
- ibm_catalogs
|
|
8461
|
-
image: quay.io/ibmmas/cli:
|
|
8494
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
8462
8495
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8463
8496
|
workingDir: /workspace/configs
|
|
8464
8497
|
# --------------------------------------------------------------------------------
|
|
@@ -8700,7 +8733,7 @@ spec:
|
|
|
8700
8733
|
command:
|
|
8701
8734
|
- /opt/app-root/src/run-role.sh
|
|
8702
8735
|
- kafka
|
|
8703
|
-
image: quay.io/ibmmas/cli:
|
|
8736
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
8704
8737
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8705
8738
|
workingDir: /workspace/configs
|
|
8706
8739
|
|
|
@@ -8916,7 +8949,7 @@ spec:
|
|
|
8916
8949
|
command:
|
|
8917
8950
|
- /opt/app-root/src/run-role.sh
|
|
8918
8951
|
- kmodels
|
|
8919
|
-
image: quay.io/ibmmas/cli:
|
|
8952
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
8920
8953
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8921
8954
|
# --------------------------------------------------------------------------------
|
|
8922
8955
|
# /home/runner/work/cli/cli/tekton/target/tasks/mongodb.yaml
|
|
@@ -9094,7 +9127,7 @@ spec:
|
|
|
9094
9127
|
command:
|
|
9095
9128
|
- /opt/app-root/src/run-role.sh
|
|
9096
9129
|
- mongodb
|
|
9097
|
-
image: quay.io/ibmmas/cli:
|
|
9130
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
9098
9131
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9099
9132
|
workingDir: /workspace/configs
|
|
9100
9133
|
|
|
@@ -9137,7 +9170,7 @@ spec:
|
|
|
9137
9170
|
- $(params.base_output_dir)
|
|
9138
9171
|
- --extra-namespaces
|
|
9139
9172
|
- selenium
|
|
9140
|
-
image: quay.io/ibmmas/cli:
|
|
9173
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
9141
9174
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9142
9175
|
env:
|
|
9143
9176
|
- name: DEVOPS_MONGO_URI
|
|
@@ -9254,7 +9287,7 @@ spec:
|
|
|
9254
9287
|
command:
|
|
9255
9288
|
- /opt/app-root/src/run-role.sh
|
|
9256
9289
|
- nvidia_gpu
|
|
9257
|
-
image: quay.io/ibmmas/cli:
|
|
9290
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
9258
9291
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9259
9292
|
workingDir: /workspace/configs
|
|
9260
9293
|
|
|
@@ -9290,7 +9323,7 @@ spec:
|
|
|
9290
9323
|
# Verify Cluster
|
|
9291
9324
|
# -------------------------------------------------------------------------
|
|
9292
9325
|
- name: ocp-verify-cluster
|
|
9293
|
-
image: quay.io/ibmmas/cli:
|
|
9326
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
9294
9327
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9295
9328
|
command:
|
|
9296
9329
|
- /opt/app-root/src/run-role.sh
|
|
@@ -9332,7 +9365,7 @@ spec:
|
|
|
9332
9365
|
# Verify Catalogs
|
|
9333
9366
|
# -------------------------------------------------------------------------
|
|
9334
9367
|
- name: ocp-verify-catalogs
|
|
9335
|
-
image: quay.io/ibmmas/cli:
|
|
9368
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
9336
9369
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9337
9370
|
command:
|
|
9338
9371
|
- /opt/app-root/src/run-role.sh
|
|
@@ -9374,7 +9407,7 @@ spec:
|
|
|
9374
9407
|
# Verify Subscriptions
|
|
9375
9408
|
# -------------------------------------------------------------------------
|
|
9376
9409
|
- name: ocp-verify-subscriptions
|
|
9377
|
-
image: quay.io/ibmmas/cli:
|
|
9410
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
9378
9411
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9379
9412
|
command:
|
|
9380
9413
|
- /opt/app-root/src/run-role.sh
|
|
@@ -9416,7 +9449,7 @@ spec:
|
|
|
9416
9449
|
# Verify Workloads
|
|
9417
9450
|
# -------------------------------------------------------------------------
|
|
9418
9451
|
- name: ocp-verify-workloads
|
|
9419
|
-
image: quay.io/ibmmas/cli:
|
|
9452
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
9420
9453
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9421
9454
|
command:
|
|
9422
9455
|
- /opt/app-root/src/run-role.sh
|
|
@@ -9458,7 +9491,7 @@ spec:
|
|
|
9458
9491
|
# Verify Catalogs - Ingress TLS
|
|
9459
9492
|
# -------------------------------------------------------------------------
|
|
9460
9493
|
- name: ocp-verify-ingress
|
|
9461
|
-
image: quay.io/ibmmas/cli:
|
|
9494
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
9462
9495
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9463
9496
|
command:
|
|
9464
9497
|
- /opt/app-root/src/run-role.sh
|
|
@@ -9584,7 +9617,7 @@ spec:
|
|
|
9584
9617
|
command:
|
|
9585
9618
|
- /opt/app-root/src/run-role.sh
|
|
9586
9619
|
- ocp_verify
|
|
9587
|
-
image: quay.io/ibmmas/cli:
|
|
9620
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
9588
9621
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9589
9622
|
workingDir: /workspace/configs
|
|
9590
9623
|
# --------------------------------------------------------------------------------
|
|
@@ -9652,7 +9685,7 @@ spec:
|
|
|
9652
9685
|
command:
|
|
9653
9686
|
- /opt/app-root/src/run-role.sh
|
|
9654
9687
|
- ocs
|
|
9655
|
-
image: quay.io/ibmmas/cli:
|
|
9688
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
9656
9689
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9657
9690
|
workingDir: /workspace/configs
|
|
9658
9691
|
|
|
@@ -9888,7 +9921,7 @@ spec:
|
|
|
9888
9921
|
command:
|
|
9889
9922
|
- /opt/app-root/src/run-role.sh
|
|
9890
9923
|
- odh
|
|
9891
|
-
image: quay.io/ibmmas/cli:
|
|
9924
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
9892
9925
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9893
9926
|
# --------------------------------------------------------------------------------
|
|
9894
9927
|
# /home/runner/work/cli/cli/tekton/target/tasks/sls-registry-update.yaml
|
|
@@ -10064,7 +10097,7 @@ spec:
|
|
|
10064
10097
|
command:
|
|
10065
10098
|
- /opt/app-root/src/run-role.sh
|
|
10066
10099
|
- sls
|
|
10067
|
-
image: quay.io/ibmmas/cli:
|
|
10100
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
10068
10101
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10069
10102
|
workingDir: /workspace/configs
|
|
10070
10103
|
|
|
@@ -10453,12 +10486,12 @@ spec:
|
|
|
10453
10486
|
command:
|
|
10454
10487
|
- /opt/app-root/src/run-role.sh
|
|
10455
10488
|
- suite_app_config
|
|
10456
|
-
image: quay.io/ibmmas/cli:
|
|
10489
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
10457
10490
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10458
10491
|
|
|
10459
10492
|
# If configmap/approval-app-cfg-$(params.mas_app_id) exists then set CONFIGMAP_KEY=pending and wait for it to be changed to "approved"
|
|
10460
10493
|
- name: app-cfg-post-verify
|
|
10461
|
-
image: quay.io/ibmmas/cli:
|
|
10494
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
10462
10495
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10463
10496
|
command:
|
|
10464
10497
|
- /opt/app-root/src/wait-for-configmap.sh
|
|
@@ -10659,7 +10692,7 @@ spec:
|
|
|
10659
10692
|
command:
|
|
10660
10693
|
- /opt/app-root/src/run-role.sh
|
|
10661
10694
|
- suite_app_install
|
|
10662
|
-
image: quay.io/ibmmas/cli:
|
|
10695
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
10663
10696
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10664
10697
|
|
|
10665
10698
|
workspaces:
|
|
@@ -10748,7 +10781,7 @@ spec:
|
|
|
10748
10781
|
command:
|
|
10749
10782
|
- /opt/app-root/src/run-role.sh
|
|
10750
10783
|
- suite_app_rollback
|
|
10751
|
-
image: quay.io/ibmmas/cli:
|
|
10784
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
10752
10785
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10753
10786
|
# --------------------------------------------------------------------------------
|
|
10754
10787
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-app-uninstall.yaml
|
|
@@ -10811,7 +10844,7 @@ spec:
|
|
|
10811
10844
|
command:
|
|
10812
10845
|
- /opt/app-root/src/run-role.sh
|
|
10813
10846
|
- suite_app_uninstall
|
|
10814
|
-
image: quay.io/ibmmas/cli:
|
|
10847
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
10815
10848
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10816
10849
|
# --------------------------------------------------------------------------------
|
|
10817
10850
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-app-upgrade.yaml
|
|
@@ -10886,7 +10919,7 @@ spec:
|
|
|
10886
10919
|
command:
|
|
10887
10920
|
- /opt/app-root/src/run-role.sh
|
|
10888
10921
|
- suite_app_upgrade
|
|
10889
|
-
image: quay.io/ibmmas/cli:
|
|
10922
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
10890
10923
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10891
10924
|
# --------------------------------------------------------------------------------
|
|
10892
10925
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-app-verify.yaml
|
|
@@ -10987,7 +11020,7 @@ spec:
|
|
|
10987
11020
|
command:
|
|
10988
11021
|
- /opt/app-root/src/run-role.sh
|
|
10989
11022
|
- suite_app_verify
|
|
10990
|
-
image: quay.io/ibmmas/cli:
|
|
11023
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
10991
11024
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10992
11025
|
# --------------------------------------------------------------------------------
|
|
10993
11026
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-certs.yaml
|
|
@@ -11130,7 +11163,7 @@ spec:
|
|
|
11130
11163
|
command:
|
|
11131
11164
|
- /opt/app-root/src/run-role.sh
|
|
11132
11165
|
- suite_certs
|
|
11133
|
-
image: quay.io/ibmmas/cli:
|
|
11166
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
11134
11167
|
imagePullPolicy: $(params.image_pull_policy)
|
|
11135
11168
|
|
|
11136
11169
|
workspaces:
|
|
@@ -11197,7 +11230,7 @@ spec:
|
|
|
11197
11230
|
command:
|
|
11198
11231
|
- /opt/app-root/src/run-role.sh
|
|
11199
11232
|
- suite_config
|
|
11200
|
-
image: quay.io/ibmmas/cli:
|
|
11233
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
11201
11234
|
imagePullPolicy: $(params.image_pull_policy)
|
|
11202
11235
|
workingDir: /workspace/configs
|
|
11203
11236
|
|
|
@@ -11268,7 +11301,7 @@ spec:
|
|
|
11268
11301
|
command:
|
|
11269
11302
|
- /opt/app-root/src/run-role.sh
|
|
11270
11303
|
- suite_db2_setup_for_manage
|
|
11271
|
-
image: quay.io/ibmmas/cli:
|
|
11304
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
11272
11305
|
imagePullPolicy: $(params.image_pull_policy)
|
|
11273
11306
|
# --------------------------------------------------------------------------------
|
|
11274
11307
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-dns.yaml
|
|
@@ -11458,7 +11491,7 @@ spec:
|
|
|
11458
11491
|
command:
|
|
11459
11492
|
- /opt/app-root/src/run-role.sh
|
|
11460
11493
|
- suite_dns
|
|
11461
|
-
image: quay.io/ibmmas/cli:
|
|
11494
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
11462
11495
|
imagePullPolicy: $(params.image_pull_policy)
|
|
11463
11496
|
# --------------------------------------------------------------------------------
|
|
11464
11497
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-install.yaml
|
|
@@ -11707,7 +11740,7 @@ spec:
|
|
|
11707
11740
|
command:
|
|
11708
11741
|
- /opt/app-root/src/run-role.sh
|
|
11709
11742
|
- suite_install
|
|
11710
|
-
image: quay.io/ibmmas/cli:
|
|
11743
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
11711
11744
|
imagePullPolicy: $(params.image_pull_policy)
|
|
11712
11745
|
workingDir: /workspace/configs
|
|
11713
11746
|
|
|
@@ -11795,7 +11828,7 @@ spec:
|
|
|
11795
11828
|
command:
|
|
11796
11829
|
- /opt/app-root/src/run-role.sh
|
|
11797
11830
|
- suite_rollback
|
|
11798
|
-
image: quay.io/ibmmas/cli:
|
|
11831
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
11799
11832
|
imagePullPolicy: $(params.image_pull_policy)
|
|
11800
11833
|
# --------------------------------------------------------------------------------
|
|
11801
11834
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-uninstall.yaml
|
|
@@ -11860,7 +11893,7 @@ spec:
|
|
|
11860
11893
|
command:
|
|
11861
11894
|
- /opt/app-root/src/run-role.sh
|
|
11862
11895
|
- suite_uninstall
|
|
11863
|
-
image: quay.io/ibmmas/cli:
|
|
11896
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
11864
11897
|
imagePullPolicy: $(params.image_pull_policy)
|
|
11865
11898
|
# --------------------------------------------------------------------------------
|
|
11866
11899
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-upgrade.yaml
|
|
@@ -11930,7 +11963,7 @@ spec:
|
|
|
11930
11963
|
command:
|
|
11931
11964
|
- /opt/app-root/src/run-role.sh
|
|
11932
11965
|
- suite_upgrade
|
|
11933
|
-
image: quay.io/ibmmas/cli:
|
|
11966
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
11934
11967
|
imagePullPolicy: $(params.image_pull_policy)
|
|
11935
11968
|
# --------------------------------------------------------------------------------
|
|
11936
11969
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-verify.yaml
|
|
@@ -11997,12 +12030,12 @@ spec:
|
|
|
11997
12030
|
command:
|
|
11998
12031
|
- /opt/app-root/src/run-role.sh
|
|
11999
12032
|
- suite_verify
|
|
12000
|
-
image: quay.io/ibmmas/cli:
|
|
12033
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
12001
12034
|
imagePullPolicy: $(params.image_pull_policy)
|
|
12002
12035
|
|
|
12003
12036
|
# If configmap/approval-suite-verify exists then set CONFIGMAP_KEY=pending and wait for it to be changed to "approved"
|
|
12004
12037
|
- name: suite-post-verify
|
|
12005
|
-
image: quay.io/ibmmas/cli:
|
|
12038
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
12006
12039
|
imagePullPolicy: $(params.image_pull_policy)
|
|
12007
12040
|
script: |
|
|
12008
12041
|
#!/usr/bin/env bash
|
|
@@ -12136,7 +12169,7 @@ spec:
|
|
|
12136
12169
|
command:
|
|
12137
12170
|
- /opt/app-root/src/run-role.sh
|
|
12138
12171
|
- turbonomic
|
|
12139
|
-
image: quay.io/ibmmas/cli:
|
|
12172
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
12140
12173
|
imagePullPolicy: $(params.image_pull_policy)
|
|
12141
12174
|
# --------------------------------------------------------------------------------
|
|
12142
12175
|
# /home/runner/work/cli/cli/tekton/target/tasks/uds.yaml
|
|
@@ -12217,7 +12250,7 @@ spec:
|
|
|
12217
12250
|
# IBM User Data Services (UDS)
|
|
12218
12251
|
# -------------------------------------------------------------------------
|
|
12219
12252
|
- name: uds
|
|
12220
|
-
image: quay.io/ibmmas/cli:
|
|
12253
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
12221
12254
|
imagePullPolicy: $(params.image_pull_policy)
|
|
12222
12255
|
workingDir: /workspace/configs
|
|
12223
12256
|
command:
|
|
@@ -12280,7 +12313,7 @@ spec:
|
|
|
12280
12313
|
# IBM Data Reporter Operator (DRO)
|
|
12281
12314
|
# -------------------------------------------------------------------------
|
|
12282
12315
|
- name: dro
|
|
12283
|
-
image: quay.io/ibmmas/cli:
|
|
12316
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
12284
12317
|
imagePullPolicy: $(params.image_pull_policy)
|
|
12285
12318
|
workingDir: /workspace/configs
|
|
12286
12319
|
command:
|
|
@@ -12366,7 +12399,7 @@ spec:
|
|
|
12366
12399
|
|
|
12367
12400
|
steps:
|
|
12368
12401
|
- name: update-configmap
|
|
12369
|
-
image: quay.io/ibmmas/cli:
|
|
12402
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
12370
12403
|
command:
|
|
12371
12404
|
- /opt/app-root/src/update-configmap.sh
|
|
12372
12405
|
env:
|
|
@@ -12428,7 +12461,7 @@ spec:
|
|
|
12428
12461
|
|
|
12429
12462
|
steps:
|
|
12430
12463
|
- name: wait-for-configmap
|
|
12431
|
-
image: quay.io/ibmmas/cli:
|
|
12464
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
12432
12465
|
command:
|
|
12433
12466
|
- /opt/app-root/src/wait-for-configmap.sh
|
|
12434
12467
|
env:
|
|
@@ -12492,7 +12525,7 @@ spec:
|
|
|
12492
12525
|
|
|
12493
12526
|
steps:
|
|
12494
12527
|
- name: wait
|
|
12495
|
-
image: quay.io/ibmmas/cli:
|
|
12528
|
+
image: quay.io/ibmmas/cli:12.0.0
|
|
12496
12529
|
command:
|
|
12497
12530
|
- /opt/app-root/src/wait-for-tekton.sh
|
|
12498
12531
|
env:
|
|
@@ -17601,6 +17634,18 @@ spec:
|
|
|
17601
17634
|
- name: ingress
|
|
17602
17635
|
type: string
|
|
17603
17636
|
default: "false"
|
|
17637
|
+
- name: group_sync_operator_cron_schedule
|
|
17638
|
+
type: string
|
|
17639
|
+
default: ''
|
|
17640
|
+
- name: group_sync_operator_isv_tenant_url
|
|
17641
|
+
type: string
|
|
17642
|
+
default: ''
|
|
17643
|
+
- name: group_sync_operator_isv_groups
|
|
17644
|
+
type: string
|
|
17645
|
+
default: ''
|
|
17646
|
+
- name: ibm_rbac_binding_to_group
|
|
17647
|
+
type: string
|
|
17648
|
+
default: ''
|
|
17604
17649
|
tasks:
|
|
17605
17650
|
- name: gitops-cluster
|
|
17606
17651
|
params:
|
|
@@ -17673,6 +17718,14 @@ spec:
|
|
|
17673
17718
|
value: $(params.dns_provider)
|
|
17674
17719
|
- name: ingress
|
|
17675
17720
|
value: $(params.ingress)
|
|
17721
|
+
- name: group_sync_operator_cron_schedule
|
|
17722
|
+
value: $(params.group_sync_operator_cron_schedule)
|
|
17723
|
+
- name: group_sync_operator_isv_tenant_url
|
|
17724
|
+
value: $(params.group_sync_operator_isv_tenant_url)
|
|
17725
|
+
- name: group_sync_operator_isv_groups
|
|
17726
|
+
value: $(params.group_sync_operator_isv_groups)
|
|
17727
|
+
- name: ibm_rbac_binding_to_group
|
|
17728
|
+
value: $(params.ibm_rbac_binding_to_group)
|
|
17676
17729
|
taskRef:
|
|
17677
17730
|
kind: Task
|
|
17678
17731
|
name: gitops-cluster
|
mas/cli/upgrade/app.py
CHANGED
|
@@ -22,7 +22,7 @@ from ..validators import InstanceIDValidator
|
|
|
22
22
|
from .argParser import upgradeArgParser
|
|
23
23
|
|
|
24
24
|
from mas.devops.ocp import createNamespace
|
|
25
|
-
from mas.devops.mas import listMasInstances, verifyMasInstance
|
|
25
|
+
from mas.devops.mas import listMasInstances, verifyMasInstance, getMasChannel
|
|
26
26
|
from mas.devops.tekton import installOpenShiftPipelines, updateTektonDefinitions, launchUpgradePipeline
|
|
27
27
|
|
|
28
28
|
logger = logging.getLogger(__name__)
|
|
@@ -37,6 +37,8 @@ class UpgradeApp(BaseApp):
|
|
|
37
37
|
instanceId = args.mas_instance_id
|
|
38
38
|
self.noConfirm = args.no_confirm
|
|
39
39
|
self.skipPreCheck = args.skip_pre_check
|
|
40
|
+
self.licenseAccepted = args.accept_license
|
|
41
|
+
next_mas_channel = None
|
|
40
42
|
|
|
41
43
|
if instanceId is None:
|
|
42
44
|
self.printH1("Set Target OpenShift Cluster")
|
|
@@ -73,8 +75,30 @@ class UpgradeApp(BaseApp):
|
|
|
73
75
|
print_formatted_text(HTML(f"<Red>Error: MAS instance {instanceId} not found on this cluster</Red>"))
|
|
74
76
|
sys.exit(1)
|
|
75
77
|
|
|
78
|
+
current_mas_channel = getMasChannel(self.dynamicClient, instanceId)
|
|
79
|
+
|
|
80
|
+
if current_mas_channel not in self.upgrade_path:
|
|
81
|
+
self.fatalError(f"No upgrade available, {instanceId} is are already on the latest release {current_mas_channel}")
|
|
82
|
+
|
|
83
|
+
next_mas_channel = self.upgrade_path[current_mas_channel]
|
|
84
|
+
|
|
85
|
+
if not self.licenseAccepted:
|
|
86
|
+
self.printH1("License Terms")
|
|
87
|
+
self.printDescription([
|
|
88
|
+
"To continue with the upgrade, you must accept the license terms:",
|
|
89
|
+
self.licenses[next_mas_channel]
|
|
90
|
+
])
|
|
91
|
+
|
|
92
|
+
if self.noConfirm:
|
|
93
|
+
self.fatalError("You must accept the license terms with --accept-license when using the --no-confirm flag")
|
|
94
|
+
else:
|
|
95
|
+
if not self.yesOrNo("Do you accept the license terms"):
|
|
96
|
+
exit(1)
|
|
97
|
+
|
|
76
98
|
self.printH1("Review Settings")
|
|
77
99
|
print_formatted_text(HTML(f"<LightSlateGrey>Instance ID ..................... {instanceId}</LightSlateGrey>"))
|
|
100
|
+
print_formatted_text(HTML(f"<LightSlateGrey>Current MAS Channel ............. {current_mas_channel}</LightSlateGrey>"))
|
|
101
|
+
print_formatted_text(HTML(f"<LightSlateGrey>Next MAS Channel ................ {next_mas_channel}</LightSlateGrey>"))
|
|
78
102
|
print_formatted_text(HTML(f"<LightSlateGrey>Skip Pre-Upgrade Checks ......... {self.skipPreCheck}</LightSlateGrey>"))
|
|
79
103
|
|
|
80
104
|
if not self.noConfirm:
|
mas/cli/upgrade/argParser.py
CHANGED
|
@@ -32,7 +32,6 @@ masArgGroup.add_argument(
|
|
|
32
32
|
required=False,
|
|
33
33
|
help="The MAS instance ID to be upgraded"
|
|
34
34
|
)
|
|
35
|
-
|
|
36
35
|
otherArgGroup = upgradeArgParser.add_argument_group('More')
|
|
37
36
|
otherArgGroup.add_argument(
|
|
38
37
|
'--skip-pre-check',
|
|
@@ -48,6 +47,12 @@ otherArgGroup.add_argument(
|
|
|
48
47
|
default=False,
|
|
49
48
|
help="Launch the upgrade without prompting for confirmation",
|
|
50
49
|
)
|
|
50
|
+
otherArgGroup.add_argument(
|
|
51
|
+
"--accept-license",
|
|
52
|
+
action="store_true",
|
|
53
|
+
default=False,
|
|
54
|
+
help="Accept all license terms without prompting"
|
|
55
|
+
)
|
|
51
56
|
otherArgGroup.add_argument(
|
|
52
57
|
'-h', "--help",
|
|
53
58
|
action='help',
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
mas/cli/__init__.py,sha256=
|
|
2
|
-
mas/cli/cli.py,sha256=
|
|
1
|
+
mas/cli/__init__.py,sha256=SuVJxSRQRSP3Ll2dzMGVTLdmiWQ74YkDVA0GbXRYGVw,526
|
|
2
|
+
mas/cli/cli.py,sha256=4yAkTlnnQgcx_02TtV4tfxqIMuoYlNbBJL05-ZGc6TA,17484
|
|
3
3
|
mas/cli/displayMixins.py,sha256=e3lAx1DIOwsriDcNI0M2JyP1jeLOZKvId6sPrvWLyqs,5984
|
|
4
4
|
mas/cli/gencfg.py,sha256=p38Ss_ooiNHOZTJT8l0YxDaEaPwD4ZXgxEbW-S9YLNY,3311
|
|
5
5
|
mas/cli/validators.py,sha256=vi1pFA8QtqMhqtGk1NlkkNDUrlFCi53kS5wJqFGDgOU,5108
|
|
6
6
|
mas/cli/install/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc,508
|
|
7
|
-
mas/cli/install/app.py,sha256=
|
|
7
|
+
mas/cli/install/app.py,sha256=fZQLKQYfvinBlnyMt8PQi7Qt4nIn8Atb247bNYT_9r4,55758
|
|
8
8
|
mas/cli/install/argBuilder.py,sha256=dATpbY1kojvhr35NixZ11WZD3DzEJAfaAWhaYFLhEnQ,23033
|
|
9
9
|
mas/cli/install/argParser.py,sha256=dt06eSJkZFqzMD0gboMDUBbfIrDnLB3nEowFAs3_Th4,33205
|
|
10
|
-
mas/cli/install/catalogs.py,sha256=
|
|
10
|
+
mas/cli/install/catalogs.py,sha256=ivwWYa8eyfchOAaYxEHNTNsIevosw6Z9EQQ0iHcA3sU,697
|
|
11
11
|
mas/cli/install/params.py,sha256=niefj7fwDvwDVjCOiRybURk6lNUWliv8IXNCX-mIkZw,4780
|
|
12
12
|
mas/cli/install/summarizer.py,sha256=EW-9lIQQu9a0HWJeDP33socVKqTikkpr74n7uqa6QTs,21050
|
|
13
13
|
mas/cli/install/settings/__init__.py,sha256=RdyBSh-rM0wkuvILVzJ1gxjOtLuQ1mF6QbEL0MyiKIY,1034
|
|
@@ -17,7 +17,7 @@ mas/cli/install/settings/kafkaSettings.py,sha256=oJxFhWQkqPi7Do53tu4oxskGbEL4hro
|
|
|
17
17
|
mas/cli/install/settings/manageSettings.py,sha256=rBBq3r9AaDS5fLeKbItgLBnsguuZwyNKo80oYBBEB-0,16241
|
|
18
18
|
mas/cli/install/settings/mongodbSettings.py,sha256=UVt8vMLNpgyewlcymSystIhICnHsd0uoM9qpgezVjGg,2567
|
|
19
19
|
mas/cli/install/settings/turbonomicSettings.py,sha256=wRAFV0Rg3Em_ILkLd8xR-a_oglXivnVeF6nVI_73Q9o,1695
|
|
20
|
-
mas/cli/templates/ibm-mas-tekton.yaml,sha256=
|
|
20
|
+
mas/cli/templates/ibm-mas-tekton.yaml,sha256=XY-0p2Qd-KTo06fXWhazt6mj-rEv9SgSfwX4Lh-s2Wk,793541
|
|
21
21
|
mas/cli/templates/jdbccfg.yml.j2,sha256=cANbwkUkKEPQp-P3_BB_Llbt94457Ciagah2hOdySIM,1644
|
|
22
22
|
mas/cli/templates/suite_mongocfg.yml.j2,sha256=WrgJUfGyvfaRIHjY5VR_zLZ5irTpV5khKNq76ejIxKU,1606
|
|
23
23
|
mas/cli/templates/pod-templates/best-effort/ibm-data-dictionary-assetdatadictionary.yml,sha256=8VG_FDFcEjWNaAOZTcS58Pe0tWOXC10SJLloNqzEMC8,757
|
|
@@ -97,10 +97,10 @@ mas/cli/update/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc,50
|
|
|
97
97
|
mas/cli/update/app.py,sha256=DZAljUA9sJwhtVv5ocudHYI2lCKR5m4Df3tEdlnH-iA,37229
|
|
98
98
|
mas/cli/update/argParser.py,sha256=oOIXzB_rsI2p3og_5X5SFt_g7LURyEdLxZeiGCKq1nU,4711
|
|
99
99
|
mas/cli/upgrade/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc,508
|
|
100
|
-
mas/cli/upgrade/app.py,sha256=
|
|
101
|
-
mas/cli/upgrade/argParser.py,sha256=
|
|
102
|
-
mas_cli-
|
|
103
|
-
mas_cli-
|
|
104
|
-
mas_cli-
|
|
105
|
-
mas_cli-
|
|
106
|
-
mas_cli-
|
|
100
|
+
mas/cli/upgrade/app.py,sha256=2lBHXcUX1wVXnENJo-BKRkhn6qyenZYGEHit2OmFR14,6463
|
|
101
|
+
mas/cli/upgrade/argParser.py,sha256=pqzNDSHy6l13JunHWQLyOI-NFnDGDoVJ_HM07FLYJSc,2033
|
|
102
|
+
mas_cli-12.0.0.data/scripts/mas-cli,sha256=Es-wSefTBcR3Vs5_kIUHQLfWHxTXVrmIPMFY0hbrxt8,3493
|
|
103
|
+
mas_cli-12.0.0.dist-info/METADATA,sha256=cjbzecRgjPm20lY7bjI9h1FrIXtwhm_qvZN75--tVwo,2080
|
|
104
|
+
mas_cli-12.0.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
105
|
+
mas_cli-12.0.0.dist-info/top_level.txt,sha256=_Hlsp7pvMvyV14LFg-vk1hULq30j61EILnnxMFIhhc8,4
|
|
106
|
+
mas_cli-12.0.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|