mas-cli 10.3.2__py3-none-any.whl → 10.4.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 CHANGED
@@ -8,4 +8,4 @@
8
8
  #
9
9
  # *****************************************************************************
10
10
 
11
- __version__ = "10.3.2"
11
+ __version__ = "10.4.0"
mas/cli/install/app.py CHANGED
@@ -33,6 +33,7 @@ from mas.cli.validators import (
33
33
  InstanceIDFormatValidator,
34
34
  WorkspaceIDFormatValidator,
35
35
  WorkspaceNameFormatValidator,
36
+ TimeoutFormatValidator,
36
37
  StorageClassValidator,
37
38
  OptimizerInstallPlanValidator
38
39
  )
@@ -51,6 +52,7 @@ class InstallApp(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGe
51
52
  catalogDisplayName = catalog.spec.displayName
52
53
 
53
54
  m = re.match(r".+(?P<catalogId>v[89]-(?P<catalogVersion>[0-9]+)-amd64)", catalogDisplayName)
55
+ print(f"m: {m}")
54
56
  if m:
55
57
  # catalogId = v8-yymmdd-amd64
56
58
  # catalogVersion = yymmdd
@@ -187,6 +189,21 @@ class InstallApp(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGe
187
189
 
188
190
  self.deployCP4D = True
189
191
 
192
+ def configSSOProperties(self):
193
+ self.printH2("Configure Single Sign-On (SSO) Default Properties")
194
+ sso_response = self.yesOrNo("Would you like to configure default SSO properties?")
195
+ if not sso_response:
196
+ self.printDescription([
197
+ "Using default SSO properties"
198
+ ])
199
+ else:
200
+ self.promptForInt("Enter the idleTimeout (in seconds)", "idle_timeout", default=1800)
201
+ self.promptForString("Enter the IDP session timeout (e.g., '12h' for 12 hours)", "idp_session_timeout", validator=TimeoutFormatValidator(), default="12h")
202
+ self.promptForString("Enter the access token timeout (e.g., '30m' for 30 minutes)", "access_token_timeout", validator=TimeoutFormatValidator(), default="30m")
203
+ self.promptForString("Enter the refresh token timeout (e.g., '12h' for 12 hours)", "refresh_token_timeout", validator=TimeoutFormatValidator(), default="12h")
204
+ self.promptForString("Enter the default Identity Provider (IDP)", "default_idp", default="local")
205
+ self.yesOrNo("Enable seamless login?", param="seamless_login")
206
+
190
207
  def configMAS(self):
191
208
  self.printH1("Configure MAS Instance")
192
209
  self.printDescription([
@@ -513,6 +530,8 @@ class InstallApp(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGe
513
530
  # Interactive mode
514
531
  self.interactiveMode = True
515
532
 
533
+ # SSO Config
534
+ self.configSSOProperties()
516
535
  # Catalog
517
536
  self.configCatalog()
518
537
  if not self.devMode:
@@ -108,7 +108,7 @@ spec:
108
108
  command:
109
109
  - /opt/app-root/src/run-role.sh
110
110
  - appconnect
111
- image: quay.io/ibmmas/cli:10.3.2
111
+ image: quay.io/ibmmas/cli:10.4.0
112
112
  imagePullPolicy: $(params.image_pull_policy)
113
113
  workingDir: /workspace/configs
114
114
 
@@ -226,7 +226,7 @@ spec:
226
226
  command:
227
227
  - /opt/app-root/src/run-role.sh
228
228
  - arcgis
229
- image: quay.io/ibmmas/cli:10.3.2
229
+ image: quay.io/ibmmas/cli:10.4.0
230
230
  imagePullPolicy: $(params.image_pull_policy)
231
231
  # --------------------------------------------------------------------------------
232
232
  # /home/runner/work/cli/cli/tekton/target/tasks/cert-manager.yaml
@@ -296,7 +296,7 @@ spec:
296
296
  command:
297
297
  - /opt/app-root/src/run-role.sh
298
298
  - cert_manager
299
- image: quay.io/ibmmas/cli:10.3.2
299
+ image: quay.io/ibmmas/cli:10.4.0
300
300
  imagePullPolicy: $(params.image_pull_policy)
301
301
  workingDir: /workspace/configs
302
302
  # --------------------------------------------------------------------------------
@@ -359,7 +359,7 @@ spec:
359
359
  command:
360
360
  - /opt/app-root/src/run-role.sh
361
361
  - common_services
362
- image: quay.io/ibmmas/cli:10.3.2
362
+ image: quay.io/ibmmas/cli:10.4.0
363
363
  imagePullPolicy: $(params.image_pull_policy)
364
364
  workingDir: /workspace/configs
365
365
  # --------------------------------------------------------------------------------
@@ -454,7 +454,7 @@ spec:
454
454
  command:
455
455
  - /opt/app-root/src/run-role.sh
456
456
  - cos
457
- image: quay.io/ibmmas/cli:10.3.2
457
+ image: quay.io/ibmmas/cli:10.4.0
458
458
  imagePullPolicy: $(params.image_pull_policy)
459
459
  workingDir: /workspace/configs
460
460
  # --------------------------------------------------------------------------------
@@ -569,7 +569,7 @@ spec:
569
569
  command:
570
570
  - /opt/app-root/src/run-role.sh
571
571
  - cos
572
- image: quay.io/ibmmas/cli:10.3.2
572
+ image: quay.io/ibmmas/cli:10.4.0
573
573
  imagePullPolicy: $(params.image_pull_policy)
574
574
  workingDir: /workspace/configs
575
575
 
@@ -689,7 +689,7 @@ spec:
689
689
  command:
690
690
  - /opt/app-root/src/run-role.sh
691
691
  - cp4d_service
692
- image: quay.io/ibmmas/cli:10.3.2
692
+ image: quay.io/ibmmas/cli:10.4.0
693
693
  imagePullPolicy: $(params.image_pull_policy)
694
694
  workingDir: /workspace/configs
695
695
  # --------------------------------------------------------------------------------
@@ -806,7 +806,7 @@ spec:
806
806
  command:
807
807
  - /opt/app-root/src/run-role.sh
808
808
  - cp4d_service
809
- image: quay.io/ibmmas/cli:10.3.2
809
+ image: quay.io/ibmmas/cli:10.4.0
810
810
  imagePullPolicy: $(params.image_pull_policy)
811
811
  workingDir: /workspace/configs
812
812
 
@@ -912,7 +912,7 @@ spec:
912
912
  command:
913
913
  - /opt/app-root/src/run-role.sh
914
914
  - cp4d
915
- image: quay.io/ibmmas/cli:10.3.2
915
+ image: quay.io/ibmmas/cli:10.4.0
916
916
  imagePullPolicy: $(params.image_pull_policy)
917
917
  # --------------------------------------------------------------------------------
918
918
  # /home/runner/work/cli/cli/tekton/target/tasks/db2.yaml
@@ -1234,7 +1234,7 @@ spec:
1234
1234
  command:
1235
1235
  - /opt/app-root/src/run-role.sh
1236
1236
  - db2
1237
- image: quay.io/ibmmas/cli:10.3.2
1237
+ image: quay.io/ibmmas/cli:10.4.0
1238
1238
  imagePullPolicy: $(params.image_pull_policy)
1239
1239
  workingDir: /workspace/configs
1240
1240
 
@@ -1337,7 +1337,7 @@ spec:
1337
1337
  command:
1338
1338
  - /opt/app-root/src/run-role.sh
1339
1339
  - eck
1340
- image: quay.io/ibmmas/cli:10.3.2
1340
+ image: quay.io/ibmmas/cli:10.4.0
1341
1341
  imagePullPolicy: $(params.image_pull_policy)
1342
1342
  # --------------------------------------------------------------------------------
1343
1343
  # /home/runner/work/cli/cli/tekton/target/tasks/gencfg-workspace.yaml
@@ -1426,7 +1426,7 @@ spec:
1426
1426
  command:
1427
1427
  - /opt/app-root/src/run-role.sh
1428
1428
  - gencfg_workspace
1429
- image: quay.io/ibmmas/cli:10.3.2
1429
+ image: quay.io/ibmmas/cli:10.4.0
1430
1430
  imagePullPolicy: $(params.image_pull_policy)
1431
1431
  workingDir: /workspace/configs
1432
1432
 
@@ -1530,7 +1530,7 @@ spec:
1530
1530
  - -c
1531
1531
  name: gitops-bootstrap
1532
1532
  imagePullPolicy: IfNotPresent
1533
- image: quay.io/ibmmas/cli:10.3.2
1533
+ image: quay.io/ibmmas/cli:10.4.0
1534
1534
  workspaces:
1535
1535
  - name: configs
1536
1536
  # --------------------------------------------------------------------------------
@@ -1607,7 +1607,7 @@ spec:
1607
1607
  - -c
1608
1608
  name: gitops-cis-compliance
1609
1609
  imagePullPolicy: IfNotPresent
1610
- image: quay.io/ibmmas/cli:10.3.2
1610
+ image: quay.io/ibmmas/cli:10.4.0
1611
1611
  workspaces:
1612
1612
  - name: configs
1613
1613
  # --------------------------------------------------------------------------------
@@ -1786,7 +1786,7 @@ spec:
1786
1786
  - -c
1787
1787
  name: gitops-cluster
1788
1788
  imagePullPolicy: Always
1789
- image: quay.io/ibmmas/cli:10.3.2
1789
+ image: quay.io/ibmmas/cli:10.4.0
1790
1790
  workspaces:
1791
1791
  - name: configs
1792
1792
  # --------------------------------------------------------------------------------
@@ -1870,7 +1870,7 @@ spec:
1870
1870
  - -c
1871
1871
  name: gitops-cos
1872
1872
  imagePullPolicy: IfNotPresent
1873
- image: quay.io/ibmmas/cli:10.3.2
1873
+ image: quay.io/ibmmas/cli:10.4.0
1874
1874
  workspaces:
1875
1875
  - name: configs
1876
1876
  # --------------------------------------------------------------------------------
@@ -1983,7 +1983,7 @@ spec:
1983
1983
  - -c
1984
1984
  name: gitops-cp4d-service
1985
1985
  imagePullPolicy: IfNotPresent
1986
- image: quay.io/ibmmas/cli:10.3.2
1986
+ image: quay.io/ibmmas/cli:10.4.0
1987
1987
  workspaces:
1988
1988
  - name: configs
1989
1989
  - name: shared-gitops-configs
@@ -2092,7 +2092,7 @@ spec:
2092
2092
  - -c
2093
2093
  name: gitops-cp4d
2094
2094
  imagePullPolicy: IfNotPresent
2095
- image: quay.io/ibmmas/cli:10.3.2
2095
+ image: quay.io/ibmmas/cli:10.4.0
2096
2096
  workspaces:
2097
2097
  - name: configs
2098
2098
  - name: shared-gitops-configs
@@ -2335,7 +2335,7 @@ spec:
2335
2335
  - -c
2336
2336
  name: gitops-db2u-database
2337
2337
  imagePullPolicy: Always
2338
- image: quay.io/ibmmas/cli:10.3.2
2338
+ image: quay.io/ibmmas/cli:10.4.0
2339
2339
  workspaces:
2340
2340
  - name: configs
2341
2341
  - name: shared-gitops-configs
@@ -2428,7 +2428,7 @@ spec:
2428
2428
  - -c
2429
2429
  name: gitops-db2u
2430
2430
  imagePullPolicy: IfNotPresent
2431
- image: quay.io/ibmmas/cli:10.3.2
2431
+ image: quay.io/ibmmas/cli:10.4.0
2432
2432
  workspaces:
2433
2433
  - name: configs
2434
2434
  # --------------------------------------------------------------------------------
@@ -2550,7 +2550,7 @@ spec:
2550
2550
  - -c
2551
2551
  name: gitops-delete-jdbc-config
2552
2552
  imagePullPolicy: IfNotPresent
2553
- image: quay.io/ibmmas/cli:10.3.2
2553
+ image: quay.io/ibmmas/cli:10.4.0
2554
2554
  workspaces:
2555
2555
  - name: configs
2556
2556
  # --------------------------------------------------------------------------------
@@ -2648,7 +2648,7 @@ spec:
2648
2648
  - -c
2649
2649
  name: gitops-delete-kafka-config
2650
2650
  imagePullPolicy: Always
2651
- image: quay.io/ibmmas/cli:10.3.2
2651
+ image: quay.io/ibmmas/cli:10.4.0
2652
2652
  workspaces:
2653
2653
  - name: configs
2654
2654
 
@@ -2740,7 +2740,7 @@ spec:
2740
2740
  - -c
2741
2741
  name: gitops-deprovision-app-config
2742
2742
  imagePullPolicy: IfNotPresent
2743
- image: quay.io/ibmmas/cli:10.3.2
2743
+ image: quay.io/ibmmas/cli:10.4.0
2744
2744
  workspaces:
2745
2745
  - name: configs
2746
2746
  # --------------------------------------------------------------------------------
@@ -2825,7 +2825,7 @@ spec:
2825
2825
  - -c
2826
2826
  name: gitops-deprovision-app-install
2827
2827
  imagePullPolicy: IfNotPresent
2828
- image: quay.io/ibmmas/cli:10.3.2
2828
+ image: quay.io/ibmmas/cli:10.4.0
2829
2829
  workspaces:
2830
2830
  - name: configs
2831
2831
  # --------------------------------------------------------------------------------
@@ -2910,7 +2910,7 @@ spec:
2910
2910
  - -c
2911
2911
  name: gitops-deprovision-cluster
2912
2912
  imagePullPolicy: IfNotPresent
2913
- image: quay.io/ibmmas/cli:10.3.2
2913
+ image: quay.io/ibmmas/cli:10.4.0
2914
2914
  workspaces:
2915
2915
  - name: configs
2916
2916
  # --------------------------------------------------------------------------------
@@ -3017,7 +3017,7 @@ spec:
3017
3017
  - -c
3018
3018
  name: gitops-deprovision-cos
3019
3019
  imagePullPolicy: IfNotPresent
3020
- image: quay.io/ibmmas/cli:10.3.2
3020
+ image: quay.io/ibmmas/cli:10.4.0
3021
3021
  workspaces:
3022
3022
  - name: configs
3023
3023
  # --------------------------------------------------------------------------------
@@ -3105,7 +3105,7 @@ spec:
3105
3105
  - -c
3106
3106
  name: gitops-deprovision-db2u-database
3107
3107
  imagePullPolicy: IfNotPresent
3108
- image: quay.io/ibmmas/cli:10.3.2
3108
+ image: quay.io/ibmmas/cli:10.4.0
3109
3109
  workspaces:
3110
3110
  - name: configs
3111
3111
 
@@ -3188,7 +3188,7 @@ spec:
3188
3188
  - -c
3189
3189
  name: gitops-deprovision-db2u
3190
3190
  imagePullPolicy: IfNotPresent
3191
- image: quay.io/ibmmas/cli:10.3.2
3191
+ image: quay.io/ibmmas/cli:10.4.0
3192
3192
  workspaces:
3193
3193
  - name: configs
3194
3194
 
@@ -3264,7 +3264,7 @@ spec:
3264
3264
  - -c
3265
3265
  name: gitops-deprovision-efs
3266
3266
  imagePullPolicy: IfNotPresent
3267
- image: quay.io/ibmmas/cli:10.3.2
3267
+ image: quay.io/ibmmas/cli:10.4.0
3268
3268
  workspaces:
3269
3269
  - name: configs
3270
3270
 
@@ -3373,7 +3373,7 @@ spec:
3373
3373
  - -c
3374
3374
  name: gitops-deprovision-kafka
3375
3375
  imagePullPolicy: IfNotPresent
3376
- image: quay.io/ibmmas/cli:10.3.2
3376
+ image: quay.io/ibmmas/cli:10.4.0
3377
3377
  workspaces:
3378
3378
  - name: configs
3379
3379
  # --------------------------------------------------------------------------------
@@ -3475,7 +3475,7 @@ spec:
3475
3475
  - -c
3476
3476
  name: gitops-deprovision-mongo
3477
3477
  imagePullPolicy: IfNotPresent
3478
- image: quay.io/ibmmas/cli:10.3.2
3478
+ image: quay.io/ibmmas/cli:10.4.0
3479
3479
  workspaces:
3480
3480
  - name: configs
3481
3481
 
@@ -3532,7 +3532,7 @@ spec:
3532
3532
  - -c
3533
3533
  name: gitops-deprovision-rosa
3534
3534
  imagePullPolicy: IfNotPresent
3535
- image: quay.io/ibmmas/cli:10.3.2
3535
+ image: quay.io/ibmmas/cli:10.4.0
3536
3536
  workspaces:
3537
3537
  - name: configs
3538
3538
  # --------------------------------------------------------------------------------
@@ -3725,7 +3725,7 @@ spec:
3725
3725
  - -c
3726
3726
  name: gitops-deprovision-suite-config
3727
3727
  imagePullPolicy: IfNotPresent
3728
- image: quay.io/ibmmas/cli:10.3.2
3728
+ image: quay.io/ibmmas/cli:10.4.0
3729
3729
  workspaces:
3730
3730
  - name: configs
3731
3731
 
@@ -3823,7 +3823,7 @@ spec:
3823
3823
  - -c
3824
3824
  name: gitops-deprovision-suite-idp-config
3825
3825
  imagePullPolicy: IfNotPresent
3826
- image: quay.io/ibmmas/cli:10.3.2
3826
+ image: quay.io/ibmmas/cli:10.4.0
3827
3827
  workspaces:
3828
3828
  - name: configs
3829
3829
  # --------------------------------------------------------------------------------
@@ -3915,7 +3915,7 @@ spec:
3915
3915
  - -c
3916
3916
  name: gitops-deprovision-suite-objectstorage-config
3917
3917
  imagePullPolicy: IfNotPresent
3918
- image: quay.io/ibmmas/cli:10.3.2
3918
+ image: quay.io/ibmmas/cli:10.4.0
3919
3919
  workspaces:
3920
3920
  - name: configs
3921
3921
  # --------------------------------------------------------------------------------
@@ -4007,7 +4007,7 @@ spec:
4007
4007
  - -c
4008
4008
  name: gitops-deprovision-suite-smtp-config
4009
4009
  imagePullPolicy: IfNotPresent
4010
- image: quay.io/ibmmas/cli:10.3.2
4010
+ image: quay.io/ibmmas/cli:10.4.0
4011
4011
  workspaces:
4012
4012
  - name: configs
4013
4013
  # --------------------------------------------------------------------------------
@@ -4100,7 +4100,7 @@ spec:
4100
4100
  - -c
4101
4101
  name: gitops-deprovision-suite-watson-studio-config
4102
4102
  imagePullPolicy: IfNotPresent
4103
- image: quay.io/ibmmas/cli:10.3.2
4103
+ image: quay.io/ibmmas/cli:10.4.0
4104
4104
  workspaces:
4105
4105
  - name: configs
4106
4106
  # --------------------------------------------------------------------------------
@@ -4191,7 +4191,7 @@ spec:
4191
4191
  - -c
4192
4192
  name: gitops-deprovision-suite-workspace
4193
4193
  imagePullPolicy: Always
4194
- image: quay.io/ibmmas/cli:10.3.2
4194
+ image: quay.io/ibmmas/cli:10.4.0
4195
4195
  workspaces:
4196
4196
  - name: configs
4197
4197
  # --------------------------------------------------------------------------------
@@ -4284,7 +4284,7 @@ spec:
4284
4284
  - -c
4285
4285
  name: gitops-deprovision-suite
4286
4286
  imagePullPolicy: IfNotPresent
4287
- image: quay.io/ibmmas/cli:10.3.2
4287
+ image: quay.io/ibmmas/cli:10.4.0
4288
4288
  workspaces:
4289
4289
  - name: configs
4290
4290
 
@@ -4387,7 +4387,7 @@ spec:
4387
4387
  - -c
4388
4388
  name: gitops-dro
4389
4389
  imagePullPolicy: IfNotPresent
4390
- image: quay.io/ibmmas/cli:10.3.2
4390
+ image: quay.io/ibmmas/cli:10.4.0
4391
4391
  workspaces:
4392
4392
  - name: configs
4393
4393
  # --------------------------------------------------------------------------------
@@ -4469,7 +4469,7 @@ spec:
4469
4469
  - -c
4470
4470
  name: gitops-efs
4471
4471
  imagePullPolicy: IfNotPresent
4472
- image: quay.io/ibmmas/cli:10.3.2
4472
+ image: quay.io/ibmmas/cli:10.4.0
4473
4473
  workspaces:
4474
4474
  - name: configs
4475
4475
 
@@ -4599,7 +4599,7 @@ spec:
4599
4599
  - -c
4600
4600
  name: gitops-jdbc-config
4601
4601
  imagePullPolicy: Always
4602
- image: quay.io/ibmmas/cli:10.3.2
4602
+ image: quay.io/ibmmas/cli:10.4.0
4603
4603
  workspaces:
4604
4604
  - name: configs
4605
4605
  - name: shared-gitops-configs
@@ -4695,7 +4695,7 @@ spec:
4695
4695
  - -c
4696
4696
  name: gitops-kafka-config
4697
4697
  imagePullPolicy: Always
4698
- image: quay.io/ibmmas/cli:10.3.2
4698
+ image: quay.io/ibmmas/cli:10.4.0
4699
4699
  workspaces:
4700
4700
  - name: configs
4701
4701
 
@@ -4816,7 +4816,7 @@ spec:
4816
4816
  - -c
4817
4817
  name: gitops-kafka
4818
4818
  imagePullPolicy: IfNotPresent
4819
- image: quay.io/ibmmas/cli:10.3.2
4819
+ image: quay.io/ibmmas/cli:10.4.0
4820
4820
  workspaces:
4821
4821
  - name: configs
4822
4822
  # --------------------------------------------------------------------------------
@@ -4867,7 +4867,7 @@ spec:
4867
4867
  - -c
4868
4868
  name: gitops-license
4869
4869
  imagePullPolicy: Always
4870
- image: quay.io/ibmmas/cli:10.3.2
4870
+ image: quay.io/ibmmas/cli:10.4.0
4871
4871
  workspaces:
4872
4872
  - name: shared-entitlement
4873
4873
 
@@ -5324,7 +5324,7 @@ spec:
5324
5324
  - -c
5325
5325
  name: gitops-mas-fvt-preparer
5326
5326
  imagePullPolicy: Always
5327
- image: quay.io/ibmmas/cli:10.3.2
5327
+ image: quay.io/ibmmas/cli:10.4.0
5328
5328
  workspaces:
5329
5329
  - name: configs
5330
5330
  - name: shared-additional-configs
@@ -5728,7 +5728,7 @@ spec:
5728
5728
  - -c
5729
5729
  name: gitops-mas-initiator
5730
5730
  imagePullPolicy: IfNotPresent
5731
- image: quay.io/ibmmas/cli:10.3.2
5731
+ image: quay.io/ibmmas/cli:10.4.0
5732
5732
  workspaces:
5733
5733
  - name: configs
5734
5734
  # --------------------------------------------------------------------------------
@@ -5835,7 +5835,7 @@ spec:
5835
5835
  - -c
5836
5836
  name: gitops-mongo
5837
5837
  imagePullPolicy: IfNotPresent
5838
- image: quay.io/ibmmas/cli:10.3.2
5838
+ image: quay.io/ibmmas/cli:10.4.0
5839
5839
  workspaces:
5840
5840
  - name: configs
5841
5841
 
@@ -5947,7 +5947,7 @@ spec:
5947
5947
  - -c
5948
5948
  name: gitops-nvidia-gpu
5949
5949
  imagePullPolicy: IfNotPresent
5950
- image: quay.io/ibmmas/cli:10.3.2
5950
+ image: quay.io/ibmmas/cli:10.4.0
5951
5951
  workspaces:
5952
5952
  - name: configs
5953
5953
  # --------------------------------------------------------------------------------
@@ -6064,7 +6064,7 @@ spec:
6064
6064
  - -c
6065
6065
  name: gitops-process-mongo-user
6066
6066
  imagePullPolicy: IfNotPresent
6067
- image: quay.io/ibmmas/cli:10.3.2
6067
+ image: quay.io/ibmmas/cli:10.4.0
6068
6068
  workspaces:
6069
6069
  - name: configs
6070
6070
  # --------------------------------------------------------------------------------
@@ -6120,7 +6120,7 @@ spec:
6120
6120
  - -c
6121
6121
  name: gitops-rosa
6122
6122
  imagePullPolicy: IfNotPresent
6123
- image: quay.io/ibmmas/cli:10.3.2
6123
+ image: quay.io/ibmmas/cli:10.4.0
6124
6124
  workspaces:
6125
6125
  - name: configs
6126
6126
  # --------------------------------------------------------------------------------
@@ -6287,7 +6287,7 @@ spec:
6287
6287
  - -c
6288
6288
  name: gitops-suite-app-config
6289
6289
  imagePullPolicy: IfNotPresent
6290
- image: quay.io/ibmmas/cli:10.3.2
6290
+ image: quay.io/ibmmas/cli:10.4.0
6291
6291
  workspaces:
6292
6292
  - name: configs
6293
6293
  - name: shared-gitops-configs
@@ -6440,7 +6440,7 @@ spec:
6440
6440
  - -c
6441
6441
  name: gitops-suite-app-install
6442
6442
  imagePullPolicy: Always
6443
- image: quay.io/ibmmas/cli:10.3.2
6443
+ image: quay.io/ibmmas/cli:10.4.0
6444
6444
  workspaces:
6445
6445
  - name: configs
6446
6446
  - name: shared-gitops-configs
@@ -6546,7 +6546,7 @@ spec:
6546
6546
  - -c
6547
6547
  name: gitops-suite-certs
6548
6548
  imagePullPolicy: IfNotPresent
6549
- image: quay.io/ibmmas/cli:10.3.2
6549
+ image: quay.io/ibmmas/cli:10.4.0
6550
6550
  workspaces:
6551
6551
  - name: configs
6552
6552
  - name: certificates
@@ -6712,7 +6712,7 @@ spec:
6712
6712
  - -c
6713
6713
  name: gitops-suite-config
6714
6714
  imagePullPolicy: IfNotPresent
6715
- image: quay.io/ibmmas/cli:10.3.2
6715
+ image: quay.io/ibmmas/cli:10.4.0
6716
6716
  workspaces:
6717
6717
  - name: configs
6718
6718
  - name: shared-additional-configs
@@ -6812,7 +6812,7 @@ spec:
6812
6812
  - -c
6813
6813
  name: gitops-suite-dns
6814
6814
  imagePullPolicy: IfNotPresent
6815
- image: quay.io/ibmmas/cli:10.3.2
6815
+ image: quay.io/ibmmas/cli:10.4.0
6816
6816
  workspaces:
6817
6817
  - name: configs
6818
6818
 
@@ -6936,7 +6936,7 @@ spec:
6936
6936
  - -c
6937
6937
  name: gitops-suite-idp-config
6938
6938
  imagePullPolicy: IfNotPresent
6939
- image: quay.io/ibmmas/cli:10.3.2
6939
+ image: quay.io/ibmmas/cli:10.4.0
6940
6940
  workspaces:
6941
6941
  - name: configs
6942
6942
  - name: shared-additional-configs
@@ -7008,7 +7008,6 @@ spec:
7008
7008
  steps:
7009
7009
  - args:
7010
7010
  - |-
7011
- set -e -o pipefail
7012
7011
 
7013
7012
  mkdir -p /tmp/init-suite-objectstorage-config
7014
7013
  mkdir -p /tmp/suite-objectstorage-config-dir
@@ -7038,7 +7037,7 @@ spec:
7038
7037
  - -c
7039
7038
  name: gitops-suite-objectstorage-config
7040
7039
  imagePullPolicy: IfNotPresent
7041
- image: quay.io/ibmmas/cli:10.3.2
7040
+ image: quay.io/ibmmas/cli:10.4.0
7042
7041
  workspaces:
7043
7042
  - name: configs
7044
7043
  - name: shared-gitops-configs
@@ -7182,7 +7181,7 @@ spec:
7182
7181
  - -c
7183
7182
  name: gitops-suite-smtp-config
7184
7183
  imagePullPolicy: IfNotPresent
7185
- image: quay.io/ibmmas/cli:10.3.2
7184
+ image: quay.io/ibmmas/cli:10.4.0
7186
7185
  workspaces:
7187
7186
  - name: configs
7188
7187
 
@@ -7291,7 +7290,7 @@ spec:
7291
7290
  - -c
7292
7291
  name: gitops-suite-watson-studio-config
7293
7292
  imagePullPolicy: IfNotPresent
7294
- image: quay.io/ibmmas/cli:10.3.2
7293
+ image: quay.io/ibmmas/cli:10.4.0
7295
7294
  workspaces:
7296
7295
  - name: configs
7297
7296
  - name: shared-gitops-configs
@@ -7388,7 +7387,7 @@ spec:
7388
7387
  - -c
7389
7388
  name: gitops-suite-workspace
7390
7389
  imagePullPolicy: IfNotPresent
7391
- image: quay.io/ibmmas/cli:10.3.2
7390
+ image: quay.io/ibmmas/cli:10.4.0
7392
7391
  workspaces:
7393
7392
  - name: configs
7394
7393
  # --------------------------------------------------------------------------------
@@ -7647,7 +7646,7 @@ spec:
7647
7646
  - -c
7648
7647
  name: gitops-suite
7649
7648
  imagePullPolicy: IfNotPresent
7650
- image: quay.io/ibmmas/cli:10.3.2
7649
+ image: quay.io/ibmmas/cli:10.4.0
7651
7650
  workspaces:
7652
7651
  - name: configs
7653
7652
  - name: shared-gitops-configs
@@ -7697,7 +7696,7 @@ spec:
7697
7696
 
7698
7697
  steps:
7699
7698
  - name: grafana
7700
- image: quay.io/ibmmas/cli:10.3.2
7699
+ image: quay.io/ibmmas/cli:10.4.0
7701
7700
  imagePullPolicy: $(params.image_pull_policy)
7702
7701
  command:
7703
7702
  - /opt/app-root/src/run-role.sh
@@ -7831,7 +7830,7 @@ spec:
7831
7830
  command:
7832
7831
  - /opt/app-root/src/run-role.sh
7833
7832
  - ibm_catalogs
7834
- image: quay.io/ibmmas/cli:10.3.2
7833
+ image: quay.io/ibmmas/cli:10.4.0
7835
7834
  imagePullPolicy: $(params.image_pull_policy)
7836
7835
  workingDir: /workspace/configs
7837
7836
  # --------------------------------------------------------------------------------
@@ -7938,7 +7937,7 @@ spec:
7938
7937
  command:
7939
7938
  - /opt/app-root/src/run-role.sh
7940
7939
  - kafka
7941
- image: quay.io/ibmmas/cli:10.3.2
7940
+ image: quay.io/ibmmas/cli:10.4.0
7942
7941
  imagePullPolicy: $(params.image_pull_policy)
7943
7942
  workingDir: /workspace/configs
7944
7943
  # --------------------------------------------------------------------------------
@@ -8180,7 +8179,7 @@ spec:
8180
8179
  command:
8181
8180
  - /opt/app-root/src/run-role.sh
8182
8181
  - kafka
8183
- image: quay.io/ibmmas/cli:10.3.2
8182
+ image: quay.io/ibmmas/cli:10.4.0
8184
8183
  imagePullPolicy: $(params.image_pull_policy)
8185
8184
  workingDir: /workspace/configs
8186
8185
 
@@ -8207,7 +8206,7 @@ spec:
8207
8206
 
8208
8207
  steps:
8209
8208
  - name: start-pipelinerun
8210
- image: quay.io/ibmmas/cli:10.3.2
8209
+ image: quay.io/ibmmas/cli:10.4.0
8211
8210
  imagePullPolicy: $(params.image_pull_policy)
8212
8211
  command:
8213
8212
  - ansible-playbook
@@ -8312,7 +8311,7 @@ spec:
8312
8311
  optional: false
8313
8312
 
8314
8313
  - name: wait-for-pipelinerun
8315
- image: quay.io/ibmmas/cli:10.3.2
8314
+ image: quay.io/ibmmas/cli:10.4.0
8316
8315
  imagePullPolicy: $(params.image_pull_policy)
8317
8316
  # 50 retries at 10 minute intervals = just over 8 hours
8318
8317
  command:
@@ -8506,7 +8505,7 @@ spec:
8506
8505
  command:
8507
8506
  - /opt/app-root/src/run-role.sh
8508
8507
  - mongodb
8509
- image: quay.io/ibmmas/cli:10.3.2
8508
+ image: quay.io/ibmmas/cli:10.4.0
8510
8509
  imagePullPolicy: $(params.image_pull_policy)
8511
8510
  workingDir: /workspace/configs
8512
8511
 
@@ -8549,7 +8548,7 @@ spec:
8549
8548
  - $(params.base_output_dir)
8550
8549
  - --extra-namespaces
8551
8550
  - selenium
8552
- image: quay.io/ibmmas/cli:10.3.2
8551
+ image: quay.io/ibmmas/cli:10.4.0
8553
8552
  imagePullPolicy: $(params.image_pull_policy)
8554
8553
  env:
8555
8554
  - name: DEVOPS_MONGO_URI
@@ -8666,7 +8665,7 @@ spec:
8666
8665
  command:
8667
8666
  - /opt/app-root/src/run-role.sh
8668
8667
  - nvidia_gpu
8669
- image: quay.io/ibmmas/cli:10.3.2
8668
+ image: quay.io/ibmmas/cli:10.4.0
8670
8669
  imagePullPolicy: $(params.image_pull_policy)
8671
8670
  workingDir: /workspace/configs
8672
8671
 
@@ -8745,7 +8744,7 @@ spec:
8745
8744
  command:
8746
8745
  - /opt/app-root/src/run-role.sh
8747
8746
  - ocp_deprovision
8748
- image: quay.io/ibmmas/cli:10.3.2
8747
+ image: quay.io/ibmmas/cli:10.4.0
8749
8748
  imagePullPolicy: $(params.image_pull_policy)
8750
8749
  # --------------------------------------------------------------------------------
8751
8750
  # /home/runner/work/cli/cli/tekton/target/tasks/ocp-verify-all.yaml
@@ -8777,7 +8776,7 @@ spec:
8777
8776
  # Verify Cluster
8778
8777
  # -------------------------------------------------------------------------
8779
8778
  - name: ocp-verify-cluster
8780
- image: quay.io/ibmmas/cli:10.3.2
8779
+ image: quay.io/ibmmas/cli:10.4.0
8781
8780
  imagePullPolicy: $(params.image_pull_policy)
8782
8781
  command:
8783
8782
  - /opt/app-root/src/run-role.sh
@@ -8819,7 +8818,7 @@ spec:
8819
8818
  # Verify Catalogs
8820
8819
  # -------------------------------------------------------------------------
8821
8820
  - name: ocp-verify-catalogs
8822
- image: quay.io/ibmmas/cli:10.3.2
8821
+ image: quay.io/ibmmas/cli:10.4.0
8823
8822
  imagePullPolicy: $(params.image_pull_policy)
8824
8823
  command:
8825
8824
  - /opt/app-root/src/run-role.sh
@@ -8861,7 +8860,7 @@ spec:
8861
8860
  # Verify Subscriptions
8862
8861
  # -------------------------------------------------------------------------
8863
8862
  - name: ocp-verify-subscriptions
8864
- image: quay.io/ibmmas/cli:10.3.2
8863
+ image: quay.io/ibmmas/cli:10.4.0
8865
8864
  imagePullPolicy: $(params.image_pull_policy)
8866
8865
  command:
8867
8866
  - /opt/app-root/src/run-role.sh
@@ -8903,7 +8902,7 @@ spec:
8903
8902
  # Verify Workloads
8904
8903
  # -------------------------------------------------------------------------
8905
8904
  - name: ocp-verify-workloads
8906
- image: quay.io/ibmmas/cli:10.3.2
8905
+ image: quay.io/ibmmas/cli:10.4.0
8907
8906
  imagePullPolicy: $(params.image_pull_policy)
8908
8907
  command:
8909
8908
  - /opt/app-root/src/run-role.sh
@@ -8945,7 +8944,7 @@ spec:
8945
8944
  # Verify Catalogs - Ingress TLS
8946
8945
  # -------------------------------------------------------------------------
8947
8946
  - name: ocp-verify-ingress
8948
- image: quay.io/ibmmas/cli:10.3.2
8947
+ image: quay.io/ibmmas/cli:10.4.0
8949
8948
  imagePullPolicy: $(params.image_pull_policy)
8950
8949
  command:
8951
8950
  - /opt/app-root/src/run-role.sh
@@ -9071,7 +9070,7 @@ spec:
9071
9070
  command:
9072
9071
  - /opt/app-root/src/run-role.sh
9073
9072
  - ocp_verify
9074
- image: quay.io/ibmmas/cli:10.3.2
9073
+ image: quay.io/ibmmas/cli:10.4.0
9075
9074
  imagePullPolicy: $(params.image_pull_policy)
9076
9075
  workingDir: /workspace/configs
9077
9076
  # --------------------------------------------------------------------------------
@@ -9139,7 +9138,7 @@ spec:
9139
9138
  command:
9140
9139
  - /opt/app-root/src/run-role.sh
9141
9140
  - ocs
9142
- image: quay.io/ibmmas/cli:10.3.2
9141
+ image: quay.io/ibmmas/cli:10.4.0
9143
9142
  imagePullPolicy: $(params.image_pull_policy)
9144
9143
  workingDir: /workspace/configs
9145
9144
 
@@ -9320,7 +9319,7 @@ spec:
9320
9319
  command:
9321
9320
  - /opt/app-root/src/run-role.sh
9322
9321
  - sls
9323
- image: quay.io/ibmmas/cli:10.3.2
9322
+ image: quay.io/ibmmas/cli:10.4.0
9324
9323
  imagePullPolicy: $(params.image_pull_policy)
9325
9324
  workingDir: /workspace/configs
9326
9325
 
@@ -9695,12 +9694,12 @@ spec:
9695
9694
  command:
9696
9695
  - /opt/app-root/src/run-role.sh
9697
9696
  - suite_app_config
9698
- image: quay.io/ibmmas/cli:10.3.2
9697
+ image: quay.io/ibmmas/cli:10.4.0
9699
9698
  imagePullPolicy: $(params.image_pull_policy)
9700
9699
 
9701
9700
  # If configmap/approval-app-cfg-$(params.mas_app_id) exists then set CONFIGMAP_KEY=pending and wait for it to be changed to "approved"
9702
9701
  - name: app-cfg-post-verify
9703
- image: quay.io/ibmmas/cli:10.3.2
9702
+ image: quay.io/ibmmas/cli:10.4.0
9704
9703
  imagePullPolicy: $(params.image_pull_policy)
9705
9704
  command:
9706
9705
  - /opt/app-root/src/wait-for-configmap.sh
@@ -9901,7 +9900,7 @@ spec:
9901
9900
  command:
9902
9901
  - /opt/app-root/src/run-role.sh
9903
9902
  - suite_app_install
9904
- image: quay.io/ibmmas/cli:10.3.2
9903
+ image: quay.io/ibmmas/cli:10.4.0
9905
9904
  imagePullPolicy: $(params.image_pull_policy)
9906
9905
 
9907
9906
  workspaces:
@@ -9990,7 +9989,7 @@ spec:
9990
9989
  command:
9991
9990
  - /opt/app-root/src/run-role.sh
9992
9991
  - suite_app_rollback
9993
- image: quay.io/ibmmas/cli:10.3.2
9992
+ image: quay.io/ibmmas/cli:10.4.0
9994
9993
  imagePullPolicy: $(params.image_pull_policy)
9995
9994
  # --------------------------------------------------------------------------------
9996
9995
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-app-uninstall.yaml
@@ -10053,7 +10052,7 @@ spec:
10053
10052
  command:
10054
10053
  - /opt/app-root/src/run-role.sh
10055
10054
  - suite_app_uninstall
10056
- image: quay.io/ibmmas/cli:10.3.2
10055
+ image: quay.io/ibmmas/cli:10.4.0
10057
10056
  imagePullPolicy: $(params.image_pull_policy)
10058
10057
  # --------------------------------------------------------------------------------
10059
10058
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-app-upgrade.yaml
@@ -10128,7 +10127,7 @@ spec:
10128
10127
  command:
10129
10128
  - /opt/app-root/src/run-role.sh
10130
10129
  - suite_app_upgrade
10131
- image: quay.io/ibmmas/cli:10.3.2
10130
+ image: quay.io/ibmmas/cli:10.4.0
10132
10131
  imagePullPolicy: $(params.image_pull_policy)
10133
10132
  # --------------------------------------------------------------------------------
10134
10133
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-app-verify.yaml
@@ -10229,7 +10228,7 @@ spec:
10229
10228
  command:
10230
10229
  - /opt/app-root/src/run-role.sh
10231
10230
  - suite_app_verify
10232
- image: quay.io/ibmmas/cli:10.3.2
10231
+ image: quay.io/ibmmas/cli:10.4.0
10233
10232
  imagePullPolicy: $(params.image_pull_policy)
10234
10233
  # --------------------------------------------------------------------------------
10235
10234
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-certs.yaml
@@ -10372,7 +10371,7 @@ spec:
10372
10371
  command:
10373
10372
  - /opt/app-root/src/run-role.sh
10374
10373
  - suite_certs
10375
- image: quay.io/ibmmas/cli:10.3.2
10374
+ image: quay.io/ibmmas/cli:10.4.0
10376
10375
  imagePullPolicy: $(params.image_pull_policy)
10377
10376
 
10378
10377
  workspaces:
@@ -10439,7 +10438,7 @@ spec:
10439
10438
  command:
10440
10439
  - /opt/app-root/src/run-role.sh
10441
10440
  - suite_config
10442
- image: quay.io/ibmmas/cli:10.3.2
10441
+ image: quay.io/ibmmas/cli:10.4.0
10443
10442
  imagePullPolicy: $(params.image_pull_policy)
10444
10443
  workingDir: /workspace/configs
10445
10444
 
@@ -10510,7 +10509,7 @@ spec:
10510
10509
  command:
10511
10510
  - /opt/app-root/src/run-role.sh
10512
10511
  - suite_db2_setup_for_manage
10513
- image: quay.io/ibmmas/cli:10.3.2
10512
+ image: quay.io/ibmmas/cli:10.4.0
10514
10513
  imagePullPolicy: $(params.image_pull_policy)
10515
10514
  # --------------------------------------------------------------------------------
10516
10515
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-dns.yaml
@@ -10700,7 +10699,7 @@ spec:
10700
10699
  command:
10701
10700
  - /opt/app-root/src/run-role.sh
10702
10701
  - suite_dns
10703
- image: quay.io/ibmmas/cli:10.3.2
10702
+ image: quay.io/ibmmas/cli:10.4.0
10704
10703
  imagePullPolicy: $(params.image_pull_policy)
10705
10704
  # --------------------------------------------------------------------------------
10706
10705
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-install.yaml
@@ -10796,6 +10795,25 @@ spec:
10796
10795
  type: string
10797
10796
  description: Required to install development MAS catalogs
10798
10797
 
10798
+ # SSO Configuration
10799
+ - name: idle_timeout
10800
+ type: string
10801
+ default: ''
10802
+ - name: idp_session_timeout
10803
+ type: string
10804
+ default: ''
10805
+ - name: access_token_timeout
10806
+ type: string
10807
+ default: ''
10808
+ - name: refresh_token_timeout
10809
+ type: string
10810
+ default: ''
10811
+ - name: default_idp
10812
+ type: string
10813
+ default: ''
10814
+ - name: seamless_login
10815
+ type: string
10816
+ default: ''
10799
10817
  stepTemplate:
10800
10818
  env:
10801
10819
  - name: DEVOPS_MONGO_URI
@@ -10874,13 +10892,27 @@ spec:
10874
10892
 
10875
10893
  - name: MAS_POD_TEMPLATES_DIR
10876
10894
  value: /workspace/pod-templates
10895
+
10896
+ - name: IDLE_TIMEOUT
10897
+ value: $(params.idle_timeout)
10898
+ - name: IDP_SESSION_TIMEOUT
10899
+ value: $(params.idp_session_timeout)
10900
+ - name: ACCESS_TOKEN_TIMEOUT
10901
+ value: $(params.access_token_timeout)
10902
+ - name: REFRESH_TOKEN_TIMEOUT
10903
+ value: $(params.refresh_token_timeout)
10904
+ - name: DEFAULT_IDP
10905
+ value: $(params.default_idp)
10906
+ - name: SEAMLESS_LOGIN
10907
+ value: $(params.seamless_login)
10908
+
10877
10909
 
10878
10910
  steps:
10879
10911
  - name: suite-install
10880
10912
  command:
10881
10913
  - /opt/app-root/src/run-role.sh
10882
10914
  - suite_install
10883
- image: quay.io/ibmmas/cli:10.3.2
10915
+ image: quay.io/ibmmas/cli:10.4.0
10884
10916
  imagePullPolicy: $(params.image_pull_policy)
10885
10917
  workingDir: /workspace/configs
10886
10918
 
@@ -10968,7 +11000,7 @@ spec:
10968
11000
  command:
10969
11001
  - /opt/app-root/src/run-role.sh
10970
11002
  - suite_rollback
10971
- image: quay.io/ibmmas/cli:10.3.2
11003
+ image: quay.io/ibmmas/cli:10.4.0
10972
11004
  imagePullPolicy: $(params.image_pull_policy)
10973
11005
  # --------------------------------------------------------------------------------
10974
11006
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-uninstall.yaml
@@ -11033,7 +11065,7 @@ spec:
11033
11065
  command:
11034
11066
  - /opt/app-root/src/run-role.sh
11035
11067
  - suite_uninstall
11036
- image: quay.io/ibmmas/cli:10.3.2
11068
+ image: quay.io/ibmmas/cli:10.4.0
11037
11069
  imagePullPolicy: $(params.image_pull_policy)
11038
11070
  # --------------------------------------------------------------------------------
11039
11071
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-upgrade.yaml
@@ -11103,7 +11135,7 @@ spec:
11103
11135
  command:
11104
11136
  - /opt/app-root/src/run-role.sh
11105
11137
  - suite_upgrade
11106
- image: quay.io/ibmmas/cli:10.3.2
11138
+ image: quay.io/ibmmas/cli:10.4.0
11107
11139
  imagePullPolicy: $(params.image_pull_policy)
11108
11140
  # --------------------------------------------------------------------------------
11109
11141
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-verify.yaml
@@ -11165,12 +11197,12 @@ spec:
11165
11197
  command:
11166
11198
  - /opt/app-root/src/run-role.sh
11167
11199
  - suite_verify
11168
- image: quay.io/ibmmas/cli:10.3.2
11200
+ image: quay.io/ibmmas/cli:10.4.0
11169
11201
  imagePullPolicy: $(params.image_pull_policy)
11170
11202
 
11171
11203
  # If configmap/approval-suite-verify exists then set CONFIGMAP_KEY=pending and wait for it to be changed to "approved"
11172
11204
  - name: suite-post-verify
11173
- image: quay.io/ibmmas/cli:10.3.2
11205
+ image: quay.io/ibmmas/cli:10.4.0
11174
11206
  imagePullPolicy: $(params.image_pull_policy)
11175
11207
  command:
11176
11208
  - /opt/app-root/src/wait-for-configmap.sh
@@ -11299,7 +11331,7 @@ spec:
11299
11331
  command:
11300
11332
  - /opt/app-root/src/run-role.sh
11301
11333
  - turbonomic
11302
- image: quay.io/ibmmas/cli:10.3.2
11334
+ image: quay.io/ibmmas/cli:10.4.0
11303
11335
  imagePullPolicy: $(params.image_pull_policy)
11304
11336
  # --------------------------------------------------------------------------------
11305
11337
  # /home/runner/work/cli/cli/tekton/target/tasks/uds.yaml
@@ -11380,7 +11412,7 @@ spec:
11380
11412
  # IBM User Data Services (UDS)
11381
11413
  # -------------------------------------------------------------------------
11382
11414
  - name: uds
11383
- image: quay.io/ibmmas/cli:10.3.2
11415
+ image: quay.io/ibmmas/cli:10.4.0
11384
11416
  imagePullPolicy: $(params.image_pull_policy)
11385
11417
  workingDir: /workspace/configs
11386
11418
  command:
@@ -11443,7 +11475,7 @@ spec:
11443
11475
  # IBM Data Reporter Operator (DRO)
11444
11476
  # -------------------------------------------------------------------------
11445
11477
  - name: dro
11446
- image: quay.io/ibmmas/cli:10.3.2
11478
+ image: quay.io/ibmmas/cli:10.4.0
11447
11479
  imagePullPolicy: $(params.image_pull_policy)
11448
11480
  workingDir: /workspace/configs
11449
11481
  command:
@@ -11529,7 +11561,7 @@ spec:
11529
11561
 
11530
11562
  steps:
11531
11563
  - name: update-configmap
11532
- image: quay.io/ibmmas/cli:10.3.2
11564
+ image: quay.io/ibmmas/cli:10.4.0
11533
11565
  command:
11534
11566
  - /opt/app-root/src/update-configmap.sh
11535
11567
  env:
@@ -11591,7 +11623,7 @@ spec:
11591
11623
 
11592
11624
  steps:
11593
11625
  - name: wait-for-configmap
11594
- image: quay.io/ibmmas/cli:10.3.2
11626
+ image: quay.io/ibmmas/cli:10.4.0
11595
11627
  command:
11596
11628
  - /opt/app-root/src/wait-for-configmap.sh
11597
11629
  env:
@@ -11655,7 +11687,7 @@ spec:
11655
11687
 
11656
11688
  steps:
11657
11689
  - name: wait
11658
- image: quay.io/ibmmas/cli:10.3.2
11690
+ image: quay.io/ibmmas/cli:10.4.0
11659
11691
  command:
11660
11692
  - /opt/app-root/src/wait-for-tekton.sh
11661
11693
  env:
@@ -11723,7 +11755,6 @@ spec:
11723
11755
  - name: mas_instance_id
11724
11756
  type: string
11725
11757
  default: ""
11726
-
11727
11758
  - name: mas_workspace_id
11728
11759
  type: string
11729
11760
  default: ""
@@ -18618,7 +18649,6 @@ spec:
18618
18649
  type: string
18619
18650
  default: ""
18620
18651
 
18621
-
18622
18652
  # 2. Installation
18623
18653
  # -------------------------------------------------------------------------
18624
18654
  # Storage Class Selection
@@ -19360,6 +19390,27 @@ spec:
19360
19390
  default: ""
19361
19391
  description: Data Dictionary catalog source
19362
19392
 
19393
+ # SSO Configuration
19394
+ # -----------------------------------------------------------------------------
19395
+ - name: idle_timeout
19396
+ type: string
19397
+ default: ''
19398
+ - name: idp_session_timeout
19399
+ type: string
19400
+ default: ''
19401
+ - name: access_token_timeout
19402
+ type: string
19403
+ default: ''
19404
+ - name: refresh_token_timeout
19405
+ type: string
19406
+ default: ''
19407
+ - name: default_idp
19408
+ type: string
19409
+ default: ''
19410
+ - name: seamless_login
19411
+ type: string
19412
+ default: ''
19413
+
19363
19414
  # MAS Configuration - Superuser Account
19364
19415
  # -----------------------------------------------------------------------------
19365
19416
  - name: mas_superuser_username
@@ -20890,6 +20941,18 @@ spec:
20890
20941
  value: $(params.mas_icr_cpopen)
20891
20942
  - name: ibm_entitlement_key
20892
20943
  value: $(params.ibm_entitlement_key)
20944
+ - name: idle_timeout
20945
+ value: $(params.idle_timeout)
20946
+ - name: idp_session_timeout
20947
+ value: $(params.idp_session_timeout)
20948
+ - name: access_token_timeout
20949
+ value: $(params.access_token_timeout)
20950
+ - name: refresh_token_timeout
20951
+ value: $(params.refresh_token_timeout)
20952
+ - name: default_idp
20953
+ value: $(params.default_idp)
20954
+ - name: seamless_login
20955
+ value: $(params.seamless_login)
20893
20956
  - name: mas_manual_cert_mgmt
20894
20957
  value: $(params.mas_manual_cert_mgmt)
20895
20958
  - name: mas_trust_default_cas
@@ -23504,7 +23567,6 @@ spec:
23504
23567
  type: string
23505
23568
  default: ""
23506
23569
 
23507
-
23508
23570
  # 2. Upgrade
23509
23571
  # -------------------------------------------------------------------------
23510
23572
  - name: skip_compatibility_check
mas/cli/validators.py CHANGED
@@ -9,6 +9,7 @@
9
9
  # *****************************************************************************
10
10
 
11
11
  from re import match
12
+ import re
12
13
  from os import path
13
14
 
14
15
  # Use of the openshift client rather than the kubernetes client allows us access to "apply"
@@ -47,6 +48,15 @@ class WorkspaceIDFormatValidator(Validator):
47
48
  if not match(r"^[a-z][a-z0-9]{2,11}$", instanceId):
48
49
  raise ValidationError(message='Workspace ID does not meet the requirements', cursor_position=len(instanceId))
49
50
 
51
+ class TimeoutFormatValidator(Validator):
52
+ def validate(self, document):
53
+ """
54
+ Validate that a MAS instance ID exists on the target cluster
55
+ """
56
+ string_to_validate = document.text
57
+ if not match(r'^([0-9]+)([hm])$', string_to_validate):
58
+ message = f"Error: Your input: {string_to_validate} does not meet the required pattern. Please use it in hours or minutes format (e.g., 12h, 12m)."
59
+ raise ValidationError(message=message, cursor_position=len(string_to_validate))
50
60
 
51
61
  class WorkspaceNameFormatValidator(Validator):
52
62
  def validate(self, document):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mas-cli
3
- Version: 10.3.2
3
+ Version: 10.4.0
4
4
  Summary: Python Admin CLI for Maximo Application Suite
5
5
  Home-page: https://github.com/ibm-mas/cli
6
6
  Author: David Parker
@@ -1,10 +1,10 @@
1
- mas/cli/__init__.py,sha256=Wt9caaWxPRSICfssuox403s2eTwyfJJH5_P51FsYhmg,491
1
+ mas/cli/__init__.py,sha256=eNECSBqvIieLa0qm_-2VZM80EI4WTo9lA43oVZaVuHs,491
2
2
  mas/cli/cli.py,sha256=nwl6KAHyGo_JqpkJ9tYk0LP8fmiFVk0JHR2LjjqVzy8,8730
3
3
  mas/cli/displayMixins.py,sha256=nyfZP9xqrg9L0mPPxLF7nbWvpp59wo0aDHupDX2UKdQ,5493
4
4
  mas/cli/gencfg.py,sha256=57ik5x73gQBFXPl_8h2byXmV_vhCgxfeSDZk4Wg5-Pw,2102
5
- mas/cli/validators.py,sha256=5QwiDQn2EIqJABJyDbHGGaSvlkE38IeJ98d1Czz682A,4550
5
+ mas/cli/validators.py,sha256=gKqLLQPvgcmIKE1OJjLNO2F34ECRXSlHJvFE-QxadIc,5086
6
6
  mas/cli/install/__init__.py,sha256=tGH_qJ5ZqcSFpIlObRiye3Y-r4zU8rEplYFjwuHwBTY,494
7
- mas/cli/install/app.py,sha256=NN3NNM8txPTNWEJymbkg5gQpINnw2g1GFLrzP2yrqwU,46431
7
+ mas/cli/install/app.py,sha256=nejihQSr1_GCWFENEJH_qGigqU-mznT2iN6B_OhaRfw,47676
8
8
  mas/cli/install/argParser.py,sha256=Rdt72NjFsPeyaYHRL6hz5j0sL4W5lZPPrLZt2yzS_M4,23341
9
9
  mas/cli/install/summarizer.py,sha256=ydOnkiRmj3nPPcE9ZHNxHDMMgii_VYHKnyXV4JbVQ7s,18046
10
10
  mas/cli/install/settings/__init__.py,sha256=eGdNVHVALUxJlZyGYkBet8LbHvVfa-1UjL_8Zl3d-lY,953
@@ -13,7 +13,7 @@ mas/cli/install/settings/db2Settings.py,sha256=mR0XL81Talvwvm1bekw0o9VOwV42QkS0j
13
13
  mas/cli/install/settings/kafkaSettings.py,sha256=bjAji5OZfSBpttiYHKM5B5Lvva8L8PUzi8QSs6opQcE,6997
14
14
  mas/cli/install/settings/manageSettings.py,sha256=3HtyR6-DKiKQDFTWnnxAr5OmkfqKwjI4xnBaAcAjOCI,13229
15
15
  mas/cli/install/settings/turbonomicSettings.py,sha256=OC-sn6_Z6MAq0kf33OC3c96gqT8FT4P7A51PenPiCXw,1368
16
- mas/cli/templates/ibm-mas-tekton.yaml,sha256=iInsDvW1CyYhyIfTWEGxJWyfAtNQ-7ud_zDVxrkCMgA,734630
16
+ mas/cli/templates/ibm-mas-tekton.yaml,sha256=VV8l9PMt4UiWBAvSAAnaOhbU3nr0n_q6DvSbo5H1kWs,736445
17
17
  mas/cli/templates/jdbccfg.yml.j2,sha256=cANbwkUkKEPQp-P3_BB_Llbt94457Ciagah2hOdySIM,1644
18
18
  mas/cli/templates/pod-templates/best-effort/ibm-data-dictionary-assetdatadictionary.yml,sha256=8VG_FDFcEjWNaAOZTcS58Pe0tWOXC10SJLloNqzEMC8,757
19
19
  mas/cli/templates/pod-templates/best-effort/ibm-mas-bascfg.yml,sha256=rkq8c2pVJoskgict9tCZzCchGSE2MBC-dJ47JyMYm7A,1559
@@ -94,8 +94,8 @@ mas/cli/update/argParser.py,sha256=k9-2i6KRvU4gxkiHJTgtjh1IkDaaLzgisrZe6-JORJA,3
94
94
  mas/cli/upgrade/__init__.py,sha256=tGH_qJ5ZqcSFpIlObRiye3Y-r4zU8rEplYFjwuHwBTY,494
95
95
  mas/cli/upgrade/app.py,sha256=lxMZYlO_sybzbOuZ4D7R0OCjGqnMg3MF1h2vSVZ1YmE,5328
96
96
  mas/cli/upgrade/argParser.py,sha256=jl8SU0mXDMAkpfqXaKE4MPNUmVoD0LSsvMUSJjU1dbQ,1881
97
- mas_cli-10.3.2.data/scripts/mas-cli,sha256=2fU-juOhSGp1v2NiBmAsvAaaJLFJPBp7dlflgzA9yNk,3423
98
- mas_cli-10.3.2.dist-info/METADATA,sha256=NfOoMMZPysaQVJoBi8D3j5-Y-uRQyF1KM6-ZB9upaqk,2076
99
- mas_cli-10.3.2.dist-info/WHEEL,sha256=-oYQCr74JF3a37z2nRlQays_SX2MqOANoqVjBBAP2yE,91
100
- mas_cli-10.3.2.dist-info/top_level.txt,sha256=_Hlsp7pvMvyV14LFg-vk1hULq30j61EILnnxMFIhhc8,4
101
- mas_cli-10.3.2.dist-info/RECORD,,
97
+ mas_cli-10.4.0.data/scripts/mas-cli,sha256=2fU-juOhSGp1v2NiBmAsvAaaJLFJPBp7dlflgzA9yNk,3423
98
+ mas_cli-10.4.0.dist-info/METADATA,sha256=3_M60-57GD7LRQ7i6q5T2cKZKJ2jzwHaMoXSHVwcI8c,2076
99
+ mas_cli-10.4.0.dist-info/WHEEL,sha256=-oYQCr74JF3a37z2nRlQays_SX2MqOANoqVjBBAP2yE,91
100
+ mas_cli-10.4.0.dist-info/top_level.txt,sha256=_Hlsp7pvMvyV14LFg-vk1hULq30j61EILnnxMFIhhc8,4
101
+ mas_cli-10.4.0.dist-info/RECORD,,