mas-cli 13.20.0__py3-none-any.whl → 13.22.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.

@@ -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:13.20.0
234
+ image: quay.io/ibmmas/cli:13.22.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:13.20.0
345
+ image: quay.io/ibmmas/cli:13.22.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:13.20.0
463
+ image: quay.io/ibmmas/cli:13.22.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:13.20.0
533
+ image: quay.io/ibmmas/cli:13.22.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:13.20.0
599
+ image: quay.io/ibmmas/cli:13.22.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:13.20.0
726
+ image: quay.io/ibmmas/cli:13.22.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:13.20.0
846
+ image: quay.io/ibmmas/cli:13.22.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:13.20.0
963
+ image: quay.io/ibmmas/cli:13.22.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:13.20.0
1069
+ image: quay.io/ibmmas/cli:13.22.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:13.20.0
1391
+ image: quay.io/ibmmas/cli:13.22.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:13.20.0
1501
+ image: quay.io/ibmmas/cli:13.22.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:13.20.0
1590
+ image: quay.io/ibmmas/cli:13.22.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:13.20.0
1694
+ image: quay.io/ibmmas/cli:13.22.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:13.20.0
1776
+ image: quay.io/ibmmas/cli:13.22.0
1777
1777
  workspaces:
1778
1778
  - name: configs
1779
1779
  # --------------------------------------------------------------------------------
@@ -2078,7 +2078,7 @@ spec:
2078
2078
  - -c
2079
2079
  name: gitops-cluster
2080
2080
  imagePullPolicy: Always
2081
- image: quay.io/ibmmas/cli:13.20.0
2081
+ image: quay.io/ibmmas/cli:13.22.0
2082
2082
  workspaces:
2083
2083
  - name: configs
2084
2084
  # --------------------------------------------------------------------------------
@@ -2186,7 +2186,7 @@ spec:
2186
2186
  - -c
2187
2187
  name: gitops-cos
2188
2188
  imagePullPolicy: IfNotPresent
2189
- image: quay.io/ibmmas/cli:13.20.0
2189
+ image: quay.io/ibmmas/cli:13.22.0
2190
2190
  workspaces:
2191
2191
  - name: configs
2192
2192
  # --------------------------------------------------------------------------------
@@ -2334,7 +2334,7 @@ spec:
2334
2334
  - -c
2335
2335
  name: gitops-cp4d-service
2336
2336
  imagePullPolicy: IfNotPresent
2337
- image: quay.io/ibmmas/cli:13.20.0
2337
+ image: quay.io/ibmmas/cli:13.22.0
2338
2338
  workspaces:
2339
2339
  - name: configs
2340
2340
  - name: shared-gitops-configs
@@ -2463,7 +2463,7 @@ spec:
2463
2463
  - -c
2464
2464
  name: gitops-cp4d
2465
2465
  imagePullPolicy: IfNotPresent
2466
- image: quay.io/ibmmas/cli:13.20.0
2466
+ image: quay.io/ibmmas/cli:13.22.0
2467
2467
  workspaces:
2468
2468
  - name: configs
2469
2469
  - name: shared-gitops-configs
@@ -2754,7 +2754,7 @@ spec:
2754
2754
  - -c
2755
2755
  name: gitops-db2u-database
2756
2756
  imagePullPolicy: Always
2757
- image: quay.io/ibmmas/cli:13.20.0
2757
+ image: quay.io/ibmmas/cli:13.22.0
2758
2758
  workspaces:
2759
2759
  - name: configs
2760
2760
  - name: shared-gitops-configs
@@ -2852,7 +2852,7 @@ spec:
2852
2852
  - -c
2853
2853
  name: gitops-db2u
2854
2854
  imagePullPolicy: IfNotPresent
2855
- image: quay.io/ibmmas/cli:13.20.0
2855
+ image: quay.io/ibmmas/cli:13.22.0
2856
2856
  workspaces:
2857
2857
  - name: configs
2858
2858
  # --------------------------------------------------------------------------------
@@ -2979,7 +2979,7 @@ spec:
2979
2979
  - -c
2980
2980
  name: gitops-delete-jdbc-config
2981
2981
  imagePullPolicy: IfNotPresent
2982
- image: quay.io/ibmmas/cli:13.20.0
2982
+ image: quay.io/ibmmas/cli:13.22.0
2983
2983
  workspaces:
2984
2984
  - name: configs
2985
2985
  # --------------------------------------------------------------------------------
@@ -3077,7 +3077,7 @@ spec:
3077
3077
  - -c
3078
3078
  name: gitops-delete-kafka-config
3079
3079
  imagePullPolicy: Always
3080
- image: quay.io/ibmmas/cli:13.20.0
3080
+ image: quay.io/ibmmas/cli:13.22.0
3081
3081
  workspaces:
3082
3082
  - name: configs
3083
3083
 
@@ -3169,7 +3169,7 @@ spec:
3169
3169
  - -c
3170
3170
  name: gitops-deprovision-app-config
3171
3171
  imagePullPolicy: IfNotPresent
3172
- image: quay.io/ibmmas/cli:13.20.0
3172
+ image: quay.io/ibmmas/cli:13.22.0
3173
3173
  workspaces:
3174
3174
  - name: configs
3175
3175
  # --------------------------------------------------------------------------------
@@ -3254,7 +3254,7 @@ spec:
3254
3254
  - -c
3255
3255
  name: gitops-deprovision-app-install
3256
3256
  imagePullPolicy: IfNotPresent
3257
- image: quay.io/ibmmas/cli:13.20.0
3257
+ image: quay.io/ibmmas/cli:13.22.0
3258
3258
  workspaces:
3259
3259
  - name: configs
3260
3260
  # --------------------------------------------------------------------------------
@@ -3339,7 +3339,7 @@ spec:
3339
3339
  - -c
3340
3340
  name: gitops-deprovision-cluster
3341
3341
  imagePullPolicy: IfNotPresent
3342
- image: quay.io/ibmmas/cli:13.20.0
3342
+ image: quay.io/ibmmas/cli:13.22.0
3343
3343
  workspaces:
3344
3344
  - name: configs
3345
3345
  # --------------------------------------------------------------------------------
@@ -3458,7 +3458,7 @@ spec:
3458
3458
  - -c
3459
3459
  name: gitops-deprovision-cos
3460
3460
  imagePullPolicy: IfNotPresent
3461
- image: quay.io/ibmmas/cli:13.20.0
3461
+ image: quay.io/ibmmas/cli:13.22.0
3462
3462
  workspaces:
3463
3463
  - name: configs
3464
3464
  # --------------------------------------------------------------------------------
@@ -3551,7 +3551,7 @@ spec:
3551
3551
  - -c
3552
3552
  name: gitops-deprovision-db2u-database
3553
3553
  imagePullPolicy: IfNotPresent
3554
- image: quay.io/ibmmas/cli:13.20.0
3554
+ image: quay.io/ibmmas/cli:13.22.0
3555
3555
  workspaces:
3556
3556
  - name: configs
3557
3557
 
@@ -3634,7 +3634,7 @@ spec:
3634
3634
  - -c
3635
3635
  name: gitops-deprovision-db2u
3636
3636
  imagePullPolicy: IfNotPresent
3637
- image: quay.io/ibmmas/cli:13.20.0
3637
+ image: quay.io/ibmmas/cli:13.22.0
3638
3638
  workspaces:
3639
3639
  - name: configs
3640
3640
 
@@ -3751,7 +3751,7 @@ spec:
3751
3751
  - -c
3752
3752
  name: gitops-deprovision-efs
3753
3753
  imagePullPolicy: IfNotPresent
3754
- image: quay.io/ibmmas/cli:13.20.0
3754
+ image: quay.io/ibmmas/cli:13.22.0
3755
3755
  workspaces:
3756
3756
  - name: configs
3757
3757
 
@@ -3861,7 +3861,7 @@ spec:
3861
3861
  - -c
3862
3862
  name: gitops-deprovision-kafka
3863
3863
  imagePullPolicy: IfNotPresent
3864
- image: quay.io/ibmmas/cli:13.20.0
3864
+ image: quay.io/ibmmas/cli:13.22.0
3865
3865
  workspaces:
3866
3866
  - name: configs
3867
3867
  # --------------------------------------------------------------------------------
@@ -3964,7 +3964,7 @@ spec:
3964
3964
  - -c
3965
3965
  name: gitops-deprovision-mongo
3966
3966
  imagePullPolicy: IfNotPresent
3967
- image: quay.io/ibmmas/cli:13.20.0
3967
+ image: quay.io/ibmmas/cli:13.22.0
3968
3968
  workspaces:
3969
3969
  - name: configs
3970
3970
 
@@ -4021,7 +4021,7 @@ spec:
4021
4021
  - -c
4022
4022
  name: gitops-deprovision-rosa
4023
4023
  imagePullPolicy: IfNotPresent
4024
- image: quay.io/ibmmas/cli:13.20.0
4024
+ image: quay.io/ibmmas/cli:13.22.0
4025
4025
  workspaces:
4026
4026
  - name: configs
4027
4027
  # --------------------------------------------------------------------------------
@@ -4226,7 +4226,7 @@ spec:
4226
4226
  - -c
4227
4227
  name: gitops-deprovision-suite-config
4228
4228
  imagePullPolicy: IfNotPresent
4229
- image: quay.io/ibmmas/cli:13.20.0
4229
+ image: quay.io/ibmmas/cli:13.22.0
4230
4230
  workspaces:
4231
4231
  - name: configs
4232
4232
 
@@ -4324,7 +4324,7 @@ spec:
4324
4324
  - -c
4325
4325
  name: gitops-deprovision-suite-idp-config
4326
4326
  imagePullPolicy: IfNotPresent
4327
- image: quay.io/ibmmas/cli:13.20.0
4327
+ image: quay.io/ibmmas/cli:13.22.0
4328
4328
  workspaces:
4329
4329
  - name: configs
4330
4330
  # --------------------------------------------------------------------------------
@@ -4416,7 +4416,7 @@ spec:
4416
4416
  - -c
4417
4417
  name: gitops-deprovision-suite-objectstorage-config
4418
4418
  imagePullPolicy: IfNotPresent
4419
- image: quay.io/ibmmas/cli:13.20.0
4419
+ image: quay.io/ibmmas/cli:13.22.0
4420
4420
  workspaces:
4421
4421
  - name: configs
4422
4422
  # --------------------------------------------------------------------------------
@@ -4628,7 +4628,7 @@ spec:
4628
4628
  - -c
4629
4629
  name: gitops-deprovision-suite-smtp-config
4630
4630
  imagePullPolicy: IfNotPresent
4631
- image: quay.io/ibmmas/cli:13.20.0
4631
+ image: quay.io/ibmmas/cli:13.22.0
4632
4632
  workspaces:
4633
4633
  - name: configs
4634
4634
  # --------------------------------------------------------------------------------
@@ -4721,7 +4721,7 @@ spec:
4721
4721
  - -c
4722
4722
  name: gitops-deprovision-suite-watson-studio-config
4723
4723
  imagePullPolicy: IfNotPresent
4724
- image: quay.io/ibmmas/cli:13.20.0
4724
+ image: quay.io/ibmmas/cli:13.22.0
4725
4725
  workspaces:
4726
4726
  - name: configs
4727
4727
  # --------------------------------------------------------------------------------
@@ -4812,7 +4812,7 @@ spec:
4812
4812
  - -c
4813
4813
  name: gitops-deprovision-suite-workspace
4814
4814
  imagePullPolicy: Always
4815
- image: quay.io/ibmmas/cli:13.20.0
4815
+ image: quay.io/ibmmas/cli:13.22.0
4816
4816
  workspaces:
4817
4817
  - name: configs
4818
4818
  # --------------------------------------------------------------------------------
@@ -4905,7 +4905,7 @@ spec:
4905
4905
  - -c
4906
4906
  name: gitops-deprovision-suite
4907
4907
  imagePullPolicy: IfNotPresent
4908
- image: quay.io/ibmmas/cli:13.20.0
4908
+ image: quay.io/ibmmas/cli:13.22.0
4909
4909
  workspaces:
4910
4910
  - name: configs
4911
4911
 
@@ -5018,7 +5018,7 @@ spec:
5018
5018
  - -c
5019
5019
  name: gitops-dro
5020
5020
  imagePullPolicy: IfNotPresent
5021
- image: quay.io/ibmmas/cli:13.20.0
5021
+ image: quay.io/ibmmas/cli:13.22.0
5022
5022
  workspaces:
5023
5023
  - name: configs
5024
5024
  # --------------------------------------------------------------------------------
@@ -5145,7 +5145,7 @@ spec:
5145
5145
  - -c
5146
5146
  name: gitops-efs
5147
5147
  imagePullPolicy: IfNotPresent
5148
- image: quay.io/ibmmas/cli:13.20.0
5148
+ image: quay.io/ibmmas/cli:13.22.0
5149
5149
  workspaces:
5150
5150
  - name: configs
5151
5151
 
@@ -5280,7 +5280,7 @@ spec:
5280
5280
  - -c
5281
5281
  name: gitops-jdbc-config
5282
5282
  imagePullPolicy: Always
5283
- image: quay.io/ibmmas/cli:13.20.0
5283
+ image: quay.io/ibmmas/cli:13.22.0
5284
5284
  workspaces:
5285
5285
  - name: configs
5286
5286
  - name: shared-gitops-configs
@@ -5376,7 +5376,7 @@ spec:
5376
5376
  - -c
5377
5377
  name: gitops-kafka-config
5378
5378
  imagePullPolicy: Always
5379
- image: quay.io/ibmmas/cli:13.20.0
5379
+ image: quay.io/ibmmas/cli:13.22.0
5380
5380
  workspaces:
5381
5381
  - name: configs
5382
5382
 
@@ -5498,7 +5498,7 @@ spec:
5498
5498
  - -c
5499
5499
  name: gitops-kafka
5500
5500
  imagePullPolicy: IfNotPresent
5501
- image: quay.io/ibmmas/cli:13.20.0
5501
+ image: quay.io/ibmmas/cli:13.22.0
5502
5502
  workspaces:
5503
5503
  - name: configs
5504
5504
  # --------------------------------------------------------------------------------
@@ -5624,7 +5624,7 @@ spec:
5624
5624
  - -c
5625
5625
  name: gitops-license
5626
5626
  imagePullPolicy: Always
5627
- image: quay.io/ibmmas/cli:13.20.0
5627
+ image: quay.io/ibmmas/cli:13.22.0
5628
5628
  workspaces:
5629
5629
  - name: shared-entitlement
5630
5630
 
@@ -5684,6 +5684,8 @@ spec:
5684
5684
  type: string
5685
5685
  - name: fvt_version_sls
5686
5686
  type: string
5687
+ - name: fvt_version_facilities
5688
+ type: string
5687
5689
 
5688
5690
  - name: fvt_blacklist_core
5689
5691
  type: string
@@ -5765,7 +5767,13 @@ spec:
5765
5767
  - name: launchfvt_manage_is
5766
5768
  type: string
5767
5769
  default: "true"
5770
+ - name: launchfvt_facilities
5771
+ type: string
5772
+ default: "true"
5768
5773
 
5774
+ - name: mas_app_channel_facilities
5775
+ type: string
5776
+ default: ""
5769
5777
  - name: mas_app_channel_iot
5770
5778
  type: string
5771
5779
  default: ""
@@ -5875,6 +5883,8 @@ spec:
5875
5883
  value: $(params.fvt_version_data_dictionary)
5876
5884
  - name: FVT_VERSION_SLS
5877
5885
  value: $(params.fvt_version_sls)
5886
+ - name: FVT_VERSION_FACILITIES
5887
+ value: $(params.fvt_version_facilities)
5878
5888
  - name: FVT_BLACKLIST_CORE
5879
5889
  value: $(params.fvt_blacklist_core)
5880
5890
  - name: FVT_WHITELIST_CORE
@@ -5911,6 +5921,10 @@ spec:
5911
5921
  value: $(params.launchfvt_visualinspection)
5912
5922
  - name: LAUNCHFVT_MANAGE_IS
5913
5923
  value: $(params.launchfvt_manage_is)
5924
+ - name: LAUNCHFVT_FACILITIES
5925
+ value: $(params.launchfvt_facilities)
5926
+ - name: MAS_APP_CHANNEL_FACILITIES
5927
+ value: $(params.mas_app_channel_facilities)
5914
5928
  - name: MAS_APP_CHANNEL_IOT
5915
5929
  value: $(params.mas_app_channel_iot)
5916
5930
  - name: MAS_APP_CHANNEL_MANAGE
@@ -5955,6 +5969,8 @@ spec:
5955
5969
  set -o pipefail
5956
5970
  trap '[[ $? -eq 1 ]] && mas must-gather --directory /workspace/mustgather --mas-instance-ids ${MAS_INSTANCE_ID} --extra-namespaces selenium' ERR EXIT
5957
5971
 
5972
+
5973
+
5958
5974
  get_trailing_number() {
5959
5975
  local input_string="$1"
5960
5976
  local trailing_number=$(echo $input_string | grep -Eo '[0-9]+$')
@@ -6111,6 +6127,10 @@ spec:
6111
6127
  MASAPP_APP="visualinspection.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
6112
6128
  check_argo_app_healthy "${MASAPP_APP}" 120
6113
6129
  fi
6130
+ if [[ "$LAUNCHFVT_FACILITIES" == "true" ]]; then
6131
+ MASAPP_APP="facilities.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
6132
+ check_argo_app_healthy "${MASAPP_APP}" 120
6133
+ fi
6114
6134
  if [[ "$LAUNCHFVT_IOT" == "true" ]]; then
6115
6135
  MASAPP_APP="iot.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
6116
6136
  check_argo_app_healthy "${MASAPP_APP}" 240
@@ -6136,6 +6156,10 @@ spec:
6136
6156
  MASAPP_APP="iot.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
6137
6157
  check_argo_app_healthy "${MAS_WORKSPACE_ID}.${MASAPP_APP}" 20
6138
6158
  fi
6159
+ if [[ "$LAUNCHFVT_FACILITIES" == "true" ]]; then
6160
+ MASAPP_APP="facilities.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
6161
+ check_argo_app_healthy "${MAS_WORKSPACE_ID}.${MASAPP_APP}" 120
6162
+ fi
6139
6163
  # Fourth wave
6140
6164
  if [[ "$LAUNCHFVT_MONITOR" == "true" ]]; then
6141
6165
  MASAPP_APP="monitor.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
@@ -6163,6 +6187,112 @@ spec:
6163
6187
 
6164
6188
  fi
6165
6189
 
6190
+ echo '
6191
+ # - Automated Initial User Tests
6192
+ # -----------------------------------
6193
+ '
6194
+ # See https://pages.github.ibm.com/maximoappsuite/saas/walkthrough/#automated-creation-of-initial-users for details
6195
+
6196
+ # This test runs twice: once in the core phase and once again in the apps phase (to drive the logic that grants application roles and assigns Manage Security Groups to the initial users):
6197
+ # - The initial_user secret is primed with 2 primary and 2 secondary users with randomised emails
6198
+ # - The ibm-create-initial-users Job that reads the secret and runs creates the users is deleted so ArgoCD resyncs it, causing it to be rerun
6199
+ # - The test passes if the postsyncjobs app that contains the Job becomes healthy again after rerunning the Job
6200
+
6201
+ # The results of the tests are registered with the FVT dashboard under ibm-mas-gitops/initial-users-automation-${LAUNCHER_ID}-${MAS_INSTANCE_ID}
6202
+
6203
+ # Assisted by watsonx Code Assistant
6204
+ get_random_email() {
6205
+ local random_part=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
6206
+ echo "${random_part}@example.com"
6207
+ }
6208
+
6209
+ initial_user_test() {
6210
+ # Because some of the functions in gitops_utils call exit 1,
6211
+ # it's important that this function is only called from a subshell
6212
+ # otherwise if it fails it might cause the whole script (and thus the FVT run) to exit
6213
+
6214
+ # Establish the initial_users secret
6215
+ export AVP_TYPE="aws" # required by sm_login (only AWS supported at present)
6216
+ sm_login || return $?
6217
+
6218
+ argocd_login || return $?
6219
+
6220
+ # First check the POSTSYNCJOBS_APP is healthy so we know the initial users job has run already (and so will exist)
6221
+ POSTSYNCJOBS_APP="postsyncjobs.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
6222
+ check_argo_app_healthy "${POSTSYNCJOBS_APP}" 20 || return $?
6223
+
6224
+ IU_SECRET_NAME="${ACCOUNT_ID}/${CLUSTER_NAME}/${MAS_INSTANCE_ID}/initial_users"
6225
+ IU_SECRET_VALUE="{\"$(get_random_email)\": \"primary,john,smith\", \"$(get_random_email)\": \"primary,jane,doe\", \"$(get_random_email)\": \"secondary,joe,bloggs\", \"$(get_random_email)\": \"secondary,billy,bob\"}"
6226
+ IU_SECRET_TAGS="[{\"Key\": \"source\", \"Value\": \"gitops-mas-fvt-preparer\"}, {\"Key\": \"account\", \"Value\": \"${ACCOUNT_ID}\"}, {\"Key\": \"cluster\", \"Value\": \"${CLUSTER_NAME}\"}]"
6227
+
6228
+ echo "Creating ${IU_SECRET_NAME} secret"
6229
+ sm_update_secret "${IU_SECRET_NAME}" "${IU_SECRET_VALUE}" "${IU_SECRET_TAGS}" || return $?
6230
+
6231
+ # The Job will have already run when MAS Core was installed during the first phase of our FVT process
6232
+ # Since no initial_users secret existed at that time, it will not have done anything
6233
+ # The only way to get it to rerun and pick up the new initial_secret is to delete the Job and get ArgoCD to resync
6234
+ # the application that the Job belongs to:
6235
+
6236
+ IU_JOB_LIST=$(oc get jobs -n mas-${MAS_INSTANCE_ID}-postsyncjobs -o jsonpath='{range .items[?(@.spec.template.metadata.labels.app=="ibm-create-initial-users-l")]}{.metadata.name}{"\n"}{end}') || return $?
6237
+ echo "Deleting the following ibm-create-initial-user Jobs in mas-${MAS_INSTANCE_ID}-postsyncjobs namespace:"
6238
+ echo "${IU_JOB_LIST}"
6239
+ echo "${IU_JOB_LIST}"
6240
+ for IU_JOB in $IU_JOB_LIST; do
6241
+ oc delete job "${IU_JOB}" -n mas-${MAS_INSTANCE_ID}-postsyncjobs || return $?
6242
+ done
6243
+
6244
+ # Force a resync of the postsyncjobs app
6245
+ echo "Forcing ${POSTSYNCJOBS_APP} to resync"
6246
+ argocd_sync "${POSTSYNCJOBS_APP}" || return $?
6247
+ check_argo_app_healthy "${POSTSYNCJOBS_APP}" 20 || return $?
6248
+ }
6249
+
6250
+
6251
+ IU_SYNC_START_TIME=$(date +%s)
6252
+ IU_SYNC_LOGS="$(initial_user_test 2>&1 | tee /dev/fd/2)"
6253
+ IU_RC=$? # NOTE: set -o pipefail ensures we get exit code of initial_user_test (not tee)
6254
+ IU_SYNC_LOGS_CDATA=$(printf '%s\n' "${IU_SYNC_LOGS}"| sed 's|\]\]>|]]]]><![CDATA[>|g') # guard against any "]]>" in the output
6255
+ IU_SYNC_ELAPSED_TIME=$(($(date +%s)-$IU_SYNC_START_TIME))
6256
+
6257
+ if [[ "${IU_RC}" == "0" ]]; then
6258
+ IU_TEST_RESULT_XML='
6259
+ <testsuites disabled="0" errors="0" failures="0" tests="1" time="'${IU_SYNC_ELAPSED_TIME}'">
6260
+ <testsuite disabled="0" errors="0" failures="0" name="initial-users-automation-'${MAS_INSTANCE_ID}'" skipped="0" tests="1" time="'${IU_SYNC_ELAPSED_TIME}'">
6261
+ <testcase name="Sync" time="'${IU_SYNC_ELAPSED_TIME}'" classname="Sync" />
6262
+ </testsuite>
6263
+ </testsuites>
6264
+ '
6265
+ else
6266
+ IU_TEST_RESULT_XML='
6267
+ <testsuites disabled="0" errors="0" failures="1" tests="1" time="'${IU_SYNC_ELAPSED_TIME}'">
6268
+ <testsuite disabled="0" errors="0" failures="1" name="initial-users-automation-'${MAS_INSTANCE_ID}'" skipped="0" tests="1" time="'${IU_SYNC_ELAPSED_TIME}'">
6269
+ <testcase name="Sync" time="'${IU_SYNC_ELAPSED_TIME}'" classname="Sync">
6270
+ <failure message="Initial user creation failed (rc '${IU_RC}')" type="Failure"><![CDATA[
6271
+ '${IU_SYNC_LOGS_CDATA}'
6272
+ ]]></failure>
6273
+ </testcase>
6274
+ </testsuite>
6275
+ </testsuites>
6276
+ '
6277
+ fi
6278
+
6279
+
6280
+
6281
+ # Create junit xml for one testsuite of the parent argo app, and the testcase of sync
6282
+ # DEVOPS_MONGO_URI=<set in secure properties>
6283
+ # DEVOPS_ENVIRONMENT=<param>
6284
+ # DEVOPS_BUILD_NUMBER=<param>
6285
+ export DEVOPS_SUITE_NAME="initial-users-automation-${LAUNCHER_ID}-${MAS_INSTANCE_ID}"
6286
+ export JUNIT_OUTPUT_DIR="/tmp/initial-users-automation-${LAUNCHER_ID}-${MAS_INSTANCE_ID}"
6287
+ export PRODUCT_ID="ibm-mas-gitops"
6288
+
6289
+ mkdir -p $JUNIT_OUTPUT_DIR
6290
+ echo ${IU_TEST_RESULT_XML} > $JUNIT_OUTPUT_DIR/output.xml
6291
+
6292
+ echo "Run save-junit-to-mongo.py"
6293
+ python3 /opt/app-root/src/save-junit-to-mongo.py
6294
+ # -----------------------------------
6295
+
6166
6296
  echo "Sleeping for 180 seconds to give postsync job a chance to run before creating sync window"
6167
6297
  sleep 180
6168
6298
 
@@ -6213,7 +6343,7 @@ spec:
6213
6343
  - -c
6214
6344
  name: gitops-mas-fvt-preparer
6215
6345
  imagePullPolicy: Always
6216
- image: quay.io/ibmmas/cli:13.20.0
6346
+ image: quay.io/ibmmas/cli:13.22.0
6217
6347
  workspaces:
6218
6348
  - name: configs
6219
6349
  - name: shared-additional-configs
@@ -6263,6 +6393,8 @@ spec:
6263
6393
  - name: mas_app_install_plan_assist
6264
6394
  type: string
6265
6395
  default: "Automatic"
6396
+ - name: mas_app_channel_facilities
6397
+ type: string
6266
6398
  - name: mas_app_install_plan_facilities
6267
6399
  type: string
6268
6400
  default: "Automatic"
@@ -6370,6 +6502,8 @@ spec:
6370
6502
  value: $(params.mas_app_channel_assist)
6371
6503
  - name: MAS_APP_INSTALL_PLAN_ASSIST
6372
6504
  value: $(params.mas_app_install_plan_assist)
6505
+ - name: MAS_APP_CHANNEL_FACILITIES
6506
+ value: $(params.mas_app_channel_facilities)
6373
6507
  - name: MAS_APP_INSTALL_PLAN_FACILITIES
6374
6508
  value: $(params.mas_app_install_plan_facilities)
6375
6509
  - name: MAS_APP_CHANNEL_IOT
@@ -6615,6 +6749,9 @@ spec:
6615
6749
  echo "gitops-mas-initiator: set .launchfvt.assist to false"
6616
6750
  fi
6617
6751
  fi
6752
+ if [ -n $MAS_APP_CHANNEL_FACILITIES ]; then
6753
+ yq -i '(. | select(has("facilities")) | .facilities.app_channel) = env(MAS_APP_CHANNEL_FACILITIES)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-apps-params.yaml
6754
+ fi
6618
6755
  if [ -n $MAS_APP_CHANNEL_IOT ]; then
6619
6756
  yq -i '(. | select(has("iot")) | .iot.app_channel) = env(MAS_APP_CHANNEL_IOT)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-apps-params.yaml
6620
6757
  fi
@@ -6699,7 +6836,7 @@ spec:
6699
6836
  - -c
6700
6837
  name: gitops-mas-initiator
6701
6838
  imagePullPolicy: IfNotPresent
6702
- image: quay.io/ibmmas/cli:13.20.0
6839
+ image: quay.io/ibmmas/cli:13.22.0
6703
6840
  workspaces:
6704
6841
  - name: configs
6705
6842
  # --------------------------------------------------------------------------------
@@ -6807,7 +6944,7 @@ spec:
6807
6944
  - -c
6808
6945
  name: gitops-mongo
6809
6946
  imagePullPolicy: IfNotPresent
6810
- image: quay.io/ibmmas/cli:13.20.0
6947
+ image: quay.io/ibmmas/cli:13.22.0
6811
6948
  workspaces:
6812
6949
  - name: configs
6813
6950
 
@@ -6933,7 +7070,7 @@ spec:
6933
7070
  - -c
6934
7071
  name: gitops-nvidia-gpu
6935
7072
  imagePullPolicy: IfNotPresent
6936
- image: quay.io/ibmmas/cli:13.20.0
7073
+ image: quay.io/ibmmas/cli:13.22.0
6937
7074
  workspaces:
6938
7075
  - name: configs
6939
7076
  # --------------------------------------------------------------------------------
@@ -7051,7 +7188,7 @@ spec:
7051
7188
  - -c
7052
7189
  name: gitops-process-mongo-user
7053
7190
  imagePullPolicy: IfNotPresent
7054
- image: quay.io/ibmmas/cli:13.20.0
7191
+ image: quay.io/ibmmas/cli:13.22.0
7055
7192
  workspaces:
7056
7193
  - name: configs
7057
7194
  # --------------------------------------------------------------------------------
@@ -7107,7 +7244,7 @@ spec:
7107
7244
  - -c
7108
7245
  name: gitops-rosa
7109
7246
  imagePullPolicy: IfNotPresent
7110
- image: quay.io/ibmmas/cli:13.20.0
7247
+ image: quay.io/ibmmas/cli:13.22.0
7111
7248
  workspaces:
7112
7249
  - name: configs
7113
7250
  # --------------------------------------------------------------------------------
@@ -7294,7 +7431,7 @@ spec:
7294
7431
  - -c
7295
7432
  name: gitops-suite-app-config
7296
7433
  imagePullPolicy: IfNotPresent
7297
- image: quay.io/ibmmas/cli:13.20.0
7434
+ image: quay.io/ibmmas/cli:13.22.0
7298
7435
  workspaces:
7299
7436
  - name: configs
7300
7437
  - name: shared-gitops-configs
@@ -7452,7 +7589,7 @@ spec:
7452
7589
  - -c
7453
7590
  name: gitops-suite-app-install
7454
7591
  imagePullPolicy: Always
7455
- image: quay.io/ibmmas/cli:13.20.0
7592
+ image: quay.io/ibmmas/cli:13.22.0
7456
7593
  workspaces:
7457
7594
  - name: configs
7458
7595
  - name: shared-gitops-configs
@@ -7558,7 +7695,7 @@ spec:
7558
7695
  - -c
7559
7696
  name: gitops-suite-certs
7560
7697
  imagePullPolicy: IfNotPresent
7561
- image: quay.io/ibmmas/cli:13.20.0
7698
+ image: quay.io/ibmmas/cli:13.22.0
7562
7699
  workspaces:
7563
7700
  - name: configs
7564
7701
  - name: certificates
@@ -7728,7 +7865,7 @@ spec:
7728
7865
  - -c
7729
7866
  name: gitops-suite-config
7730
7867
  imagePullPolicy: IfNotPresent
7731
- image: quay.io/ibmmas/cli:13.20.0
7868
+ image: quay.io/ibmmas/cli:13.22.0
7732
7869
  workspaces:
7733
7870
  - name: configs
7734
7871
  - name: shared-additional-configs
@@ -7828,7 +7965,7 @@ spec:
7828
7965
  - -c
7829
7966
  name: gitops-suite-dns
7830
7967
  imagePullPolicy: IfNotPresent
7831
- image: quay.io/ibmmas/cli:13.20.0
7968
+ image: quay.io/ibmmas/cli:13.22.0
7832
7969
  workspaces:
7833
7970
  - name: configs
7834
7971
 
@@ -7952,7 +8089,7 @@ spec:
7952
8089
  - -c
7953
8090
  name: gitops-suite-idp-config
7954
8091
  imagePullPolicy: IfNotPresent
7955
- image: quay.io/ibmmas/cli:13.20.0
8092
+ image: quay.io/ibmmas/cli:13.22.0
7956
8093
  workspaces:
7957
8094
  - name: configs
7958
8095
  - name: shared-additional-configs
@@ -8053,7 +8190,7 @@ spec:
8053
8190
  - -c
8054
8191
  name: gitops-suite-objectstorage-config
8055
8192
  imagePullPolicy: IfNotPresent
8056
- image: quay.io/ibmmas/cli:13.20.0
8193
+ image: quay.io/ibmmas/cli:13.22.0
8057
8194
  workspaces:
8058
8195
  - name: configs
8059
8196
  - name: shared-gitops-configs
@@ -8464,7 +8601,7 @@ spec:
8464
8601
  - -c
8465
8602
  name: gitops-suite-smtp-config
8466
8603
  imagePullPolicy: IfNotPresent
8467
- image: quay.io/ibmmas/cli:13.20.0
8604
+ image: quay.io/ibmmas/cli:13.22.0
8468
8605
  workspaces:
8469
8606
  - name: configs
8470
8607
 
@@ -8584,7 +8721,7 @@ spec:
8584
8721
  - -c
8585
8722
  name: gitops-suite-watson-studio-config
8586
8723
  imagePullPolicy: IfNotPresent
8587
- image: quay.io/ibmmas/cli:13.20.0
8724
+ image: quay.io/ibmmas/cli:13.22.0
8588
8725
  workspaces:
8589
8726
  - name: configs
8590
8727
  - name: shared-gitops-configs
@@ -8686,7 +8823,7 @@ spec:
8686
8823
  - -c
8687
8824
  name: gitops-suite-workspace
8688
8825
  imagePullPolicy: IfNotPresent
8689
- image: quay.io/ibmmas/cli:13.20.0
8826
+ image: quay.io/ibmmas/cli:13.22.0
8690
8827
  workspaces:
8691
8828
  - name: configs
8692
8829
  # --------------------------------------------------------------------------------
@@ -9029,7 +9166,7 @@ spec:
9029
9166
  - -c
9030
9167
  name: gitops-suite
9031
9168
  imagePullPolicy: IfNotPresent
9032
- image: quay.io/ibmmas/cli:13.20.0
9169
+ image: quay.io/ibmmas/cli:13.22.0
9033
9170
  workspaces:
9034
9171
  - name: configs
9035
9172
  - name: shared-gitops-configs
@@ -9079,7 +9216,7 @@ spec:
9079
9216
 
9080
9217
  steps:
9081
9218
  - name: grafana
9082
- image: quay.io/ibmmas/cli:13.20.0
9219
+ image: quay.io/ibmmas/cli:13.22.0
9083
9220
  imagePullPolicy: $(params.image_pull_policy)
9084
9221
  command:
9085
9222
  - /opt/app-root/src/run-role.sh
@@ -9213,7 +9350,7 @@ spec:
9213
9350
  command:
9214
9351
  - /opt/app-root/src/run-role.sh
9215
9352
  - ibm_catalogs
9216
- image: quay.io/ibmmas/cli:13.20.0
9353
+ image: quay.io/ibmmas/cli:13.22.0
9217
9354
  imagePullPolicy: $(params.image_pull_policy)
9218
9355
  workingDir: /workspace/configs
9219
9356
  # --------------------------------------------------------------------------------
@@ -9455,7 +9592,7 @@ spec:
9455
9592
  command:
9456
9593
  - /opt/app-root/src/run-role.sh
9457
9594
  - kafka
9458
- image: quay.io/ibmmas/cli:13.20.0
9595
+ image: quay.io/ibmmas/cli:13.22.0
9459
9596
  imagePullPolicy: $(params.image_pull_policy)
9460
9597
  workingDir: /workspace/configs
9461
9598
 
@@ -9671,7 +9808,7 @@ spec:
9671
9808
  command:
9672
9809
  - /opt/app-root/src/run-role.sh
9673
9810
  - kmodels
9674
- image: quay.io/ibmmas/cli:13.20.0
9811
+ image: quay.io/ibmmas/cli:13.22.0
9675
9812
  imagePullPolicy: $(params.image_pull_policy)
9676
9813
  # --------------------------------------------------------------------------------
9677
9814
  # /home/runner/work/cli/cli/tekton/target/tasks/mongodb.yaml
@@ -9849,7 +9986,7 @@ spec:
9849
9986
  command:
9850
9987
  - /opt/app-root/src/run-role.sh
9851
9988
  - mongodb
9852
- image: quay.io/ibmmas/cli:13.20.0
9989
+ image: quay.io/ibmmas/cli:13.22.0
9853
9990
  imagePullPolicy: $(params.image_pull_policy)
9854
9991
  workingDir: /workspace/configs
9855
9992
 
@@ -9892,7 +10029,7 @@ spec:
9892
10029
  - $(params.base_output_dir)
9893
10030
  - --extra-namespaces
9894
10031
  - selenium
9895
- image: quay.io/ibmmas/cli:13.20.0
10032
+ image: quay.io/ibmmas/cli:13.22.0
9896
10033
  imagePullPolicy: $(params.image_pull_policy)
9897
10034
  env:
9898
10035
  - name: DEVOPS_MONGO_URI
@@ -10009,7 +10146,7 @@ spec:
10009
10146
  command:
10010
10147
  - /opt/app-root/src/run-role.sh
10011
10148
  - nvidia_gpu
10012
- image: quay.io/ibmmas/cli:13.20.0
10149
+ image: quay.io/ibmmas/cli:13.22.0
10013
10150
  imagePullPolicy: $(params.image_pull_policy)
10014
10151
  workingDir: /workspace/configs
10015
10152
 
@@ -10045,7 +10182,7 @@ spec:
10045
10182
  # Verify Cluster
10046
10183
  # -------------------------------------------------------------------------
10047
10184
  - name: ocp-verify-cluster
10048
- image: quay.io/ibmmas/cli:13.20.0
10185
+ image: quay.io/ibmmas/cli:13.22.0
10049
10186
  imagePullPolicy: $(params.image_pull_policy)
10050
10187
  command:
10051
10188
  - /opt/app-root/src/run-role.sh
@@ -10087,7 +10224,7 @@ spec:
10087
10224
  # Verify Catalogs
10088
10225
  # -------------------------------------------------------------------------
10089
10226
  - name: ocp-verify-catalogs
10090
- image: quay.io/ibmmas/cli:13.20.0
10227
+ image: quay.io/ibmmas/cli:13.22.0
10091
10228
  imagePullPolicy: $(params.image_pull_policy)
10092
10229
  command:
10093
10230
  - /opt/app-root/src/run-role.sh
@@ -10129,7 +10266,7 @@ spec:
10129
10266
  # Verify Subscriptions
10130
10267
  # -------------------------------------------------------------------------
10131
10268
  - name: ocp-verify-subscriptions
10132
- image: quay.io/ibmmas/cli:13.20.0
10269
+ image: quay.io/ibmmas/cli:13.22.0
10133
10270
  imagePullPolicy: $(params.image_pull_policy)
10134
10271
  command:
10135
10272
  - /opt/app-root/src/run-role.sh
@@ -10171,7 +10308,7 @@ spec:
10171
10308
  # Verify Workloads
10172
10309
  # -------------------------------------------------------------------------
10173
10310
  - name: ocp-verify-workloads
10174
- image: quay.io/ibmmas/cli:13.20.0
10311
+ image: quay.io/ibmmas/cli:13.22.0
10175
10312
  imagePullPolicy: $(params.image_pull_policy)
10176
10313
  command:
10177
10314
  - /opt/app-root/src/run-role.sh
@@ -10213,7 +10350,7 @@ spec:
10213
10350
  # Verify Catalogs - Ingress TLS
10214
10351
  # -------------------------------------------------------------------------
10215
10352
  - name: ocp-verify-ingress
10216
- image: quay.io/ibmmas/cli:13.20.0
10353
+ image: quay.io/ibmmas/cli:13.22.0
10217
10354
  imagePullPolicy: $(params.image_pull_policy)
10218
10355
  command:
10219
10356
  - /opt/app-root/src/run-role.sh
@@ -10339,7 +10476,7 @@ spec:
10339
10476
  command:
10340
10477
  - /opt/app-root/src/run-role.sh
10341
10478
  - ocp_verify
10342
- image: quay.io/ibmmas/cli:13.20.0
10479
+ image: quay.io/ibmmas/cli:13.22.0
10343
10480
  imagePullPolicy: $(params.image_pull_policy)
10344
10481
  workingDir: /workspace/configs
10345
10482
  # --------------------------------------------------------------------------------
@@ -10407,7 +10544,7 @@ spec:
10407
10544
  command:
10408
10545
  - /opt/app-root/src/run-role.sh
10409
10546
  - ocs
10410
- image: quay.io/ibmmas/cli:13.20.0
10547
+ image: quay.io/ibmmas/cli:13.22.0
10411
10548
  imagePullPolicy: $(params.image_pull_policy)
10412
10549
  workingDir: /workspace/configs
10413
10550
 
@@ -10643,7 +10780,7 @@ spec:
10643
10780
  command:
10644
10781
  - /opt/app-root/src/run-role.sh
10645
10782
  - odh
10646
- image: quay.io/ibmmas/cli:13.20.0
10783
+ image: quay.io/ibmmas/cli:13.22.0
10647
10784
  imagePullPolicy: $(params.image_pull_policy)
10648
10785
  # --------------------------------------------------------------------------------
10649
10786
  # /home/runner/work/cli/cli/tekton/target/tasks/sls-registry-update.yaml
@@ -10819,7 +10956,7 @@ spec:
10819
10956
  command:
10820
10957
  - /opt/app-root/src/run-role.sh
10821
10958
  - sls
10822
- image: quay.io/ibmmas/cli:13.20.0
10959
+ image: quay.io/ibmmas/cli:13.22.0
10823
10960
  imagePullPolicy: $(params.image_pull_policy)
10824
10961
  workingDir: /workspace/configs
10825
10962
 
@@ -11214,12 +11351,12 @@ spec:
11214
11351
  command:
11215
11352
  - /opt/app-root/src/run-role.sh
11216
11353
  - suite_app_config
11217
- image: quay.io/ibmmas/cli:13.20.0
11354
+ image: quay.io/ibmmas/cli:13.22.0
11218
11355
  imagePullPolicy: $(params.image_pull_policy)
11219
11356
 
11220
11357
  # If configmap/approval-app-cfg-$(params.mas_app_id) exists then set STATUS=pending and wait for it to be changed to "approved"
11221
11358
  - name: app-cfg-post-verify
11222
- image: quay.io/ibmmas/cli:13.20.0
11359
+ image: quay.io/ibmmas/cli:13.22.0
11223
11360
  imagePullPolicy: $(params.image_pull_policy)
11224
11361
  command:
11225
11362
  - /opt/app-root/src/wait-for-configmap.sh
@@ -11414,7 +11551,7 @@ spec:
11414
11551
  command:
11415
11552
  - /opt/app-root/src/run-role.sh
11416
11553
  - suite_app_install
11417
- image: quay.io/ibmmas/cli:13.20.0
11554
+ image: quay.io/ibmmas/cli:13.22.0
11418
11555
  imagePullPolicy: $(params.image_pull_policy)
11419
11556
 
11420
11557
  workspaces:
@@ -11503,7 +11640,7 @@ spec:
11503
11640
  command:
11504
11641
  - /opt/app-root/src/run-role.sh
11505
11642
  - suite_app_rollback
11506
- image: quay.io/ibmmas/cli:13.20.0
11643
+ image: quay.io/ibmmas/cli:13.22.0
11507
11644
  imagePullPolicy: $(params.image_pull_policy)
11508
11645
  # --------------------------------------------------------------------------------
11509
11646
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-app-uninstall.yaml
@@ -11566,7 +11703,7 @@ spec:
11566
11703
  command:
11567
11704
  - /opt/app-root/src/run-role.sh
11568
11705
  - suite_app_uninstall
11569
- image: quay.io/ibmmas/cli:13.20.0
11706
+ image: quay.io/ibmmas/cli:13.22.0
11570
11707
  imagePullPolicy: $(params.image_pull_policy)
11571
11708
  # --------------------------------------------------------------------------------
11572
11709
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-app-upgrade.yaml
@@ -11641,7 +11778,7 @@ spec:
11641
11778
  command:
11642
11779
  - /opt/app-root/src/run-role.sh
11643
11780
  - suite_app_upgrade
11644
- image: quay.io/ibmmas/cli:13.20.0
11781
+ image: quay.io/ibmmas/cli:13.22.0
11645
11782
  imagePullPolicy: $(params.image_pull_policy)
11646
11783
  # --------------------------------------------------------------------------------
11647
11784
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-app-verify.yaml
@@ -11742,7 +11879,7 @@ spec:
11742
11879
  command:
11743
11880
  - /opt/app-root/src/run-role.sh
11744
11881
  - suite_app_verify
11745
- image: quay.io/ibmmas/cli:13.20.0
11882
+ image: quay.io/ibmmas/cli:13.22.0
11746
11883
  imagePullPolicy: $(params.image_pull_policy)
11747
11884
  # --------------------------------------------------------------------------------
11748
11885
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-certs.yaml
@@ -11885,7 +12022,7 @@ spec:
11885
12022
  command:
11886
12023
  - /opt/app-root/src/run-role.sh
11887
12024
  - suite_certs
11888
- image: quay.io/ibmmas/cli:13.20.0
12025
+ image: quay.io/ibmmas/cli:13.22.0
11889
12026
  imagePullPolicy: $(params.image_pull_policy)
11890
12027
 
11891
12028
  workspaces:
@@ -11952,7 +12089,7 @@ spec:
11952
12089
  command:
11953
12090
  - /opt/app-root/src/run-role.sh
11954
12091
  - suite_config
11955
- image: quay.io/ibmmas/cli:13.20.0
12092
+ image: quay.io/ibmmas/cli:13.22.0
11956
12093
  imagePullPolicy: $(params.image_pull_policy)
11957
12094
  workingDir: /workspace/configs
11958
12095
 
@@ -12023,7 +12160,7 @@ spec:
12023
12160
  command:
12024
12161
  - /opt/app-root/src/run-role.sh
12025
12162
  - suite_db2_setup_for_manage
12026
- image: quay.io/ibmmas/cli:13.20.0
12163
+ image: quay.io/ibmmas/cli:13.22.0
12027
12164
  imagePullPolicy: $(params.image_pull_policy)
12028
12165
  # --------------------------------------------------------------------------------
12029
12166
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-dns.yaml
@@ -12213,7 +12350,7 @@ spec:
12213
12350
  command:
12214
12351
  - /opt/app-root/src/run-role.sh
12215
12352
  - suite_dns
12216
- image: quay.io/ibmmas/cli:13.20.0
12353
+ image: quay.io/ibmmas/cli:13.22.0
12217
12354
  imagePullPolicy: $(params.image_pull_policy)
12218
12355
  # --------------------------------------------------------------------------------
12219
12356
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-install.yaml
@@ -12462,7 +12599,7 @@ spec:
12462
12599
  command:
12463
12600
  - /opt/app-root/src/run-role.sh
12464
12601
  - suite_install
12465
- image: quay.io/ibmmas/cli:13.20.0
12602
+ image: quay.io/ibmmas/cli:13.22.0
12466
12603
  imagePullPolicy: $(params.image_pull_policy)
12467
12604
  workingDir: /workspace/configs
12468
12605
 
@@ -12550,7 +12687,7 @@ spec:
12550
12687
  command:
12551
12688
  - /opt/app-root/src/run-role.sh
12552
12689
  - suite_rollback
12553
- image: quay.io/ibmmas/cli:13.20.0
12690
+ image: quay.io/ibmmas/cli:13.22.0
12554
12691
  imagePullPolicy: $(params.image_pull_policy)
12555
12692
  # --------------------------------------------------------------------------------
12556
12693
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-uninstall.yaml
@@ -12615,7 +12752,7 @@ spec:
12615
12752
  command:
12616
12753
  - /opt/app-root/src/run-role.sh
12617
12754
  - suite_uninstall
12618
- image: quay.io/ibmmas/cli:13.20.0
12755
+ image: quay.io/ibmmas/cli:13.22.0
12619
12756
  imagePullPolicy: $(params.image_pull_policy)
12620
12757
  # --------------------------------------------------------------------------------
12621
12758
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-upgrade.yaml
@@ -12685,7 +12822,7 @@ spec:
12685
12822
  command:
12686
12823
  - /opt/app-root/src/run-role.sh
12687
12824
  - suite_upgrade
12688
- image: quay.io/ibmmas/cli:13.20.0
12825
+ image: quay.io/ibmmas/cli:13.22.0
12689
12826
  imagePullPolicy: $(params.image_pull_policy)
12690
12827
  # --------------------------------------------------------------------------------
12691
12828
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-verify.yaml
@@ -12752,12 +12889,12 @@ spec:
12752
12889
  command:
12753
12890
  - /opt/app-root/src/run-role.sh
12754
12891
  - suite_verify
12755
- image: quay.io/ibmmas/cli:13.20.0
12892
+ image: quay.io/ibmmas/cli:13.22.0
12756
12893
  imagePullPolicy: $(params.image_pull_policy)
12757
12894
 
12758
12895
  # If configmap/approval-suite-verify exists then set STATUS=pending and wait for it to be changed to "approved"
12759
12896
  - name: suite-post-verify
12760
- image: quay.io/ibmmas/cli:13.20.0
12897
+ image: quay.io/ibmmas/cli:13.22.0
12761
12898
  imagePullPolicy: $(params.image_pull_policy)
12762
12899
  script: |
12763
12900
  #!/usr/bin/env bash
@@ -12885,7 +13022,7 @@ spec:
12885
13022
  command:
12886
13023
  - /opt/app-root/src/run-role.sh
12887
13024
  - turbonomic
12888
- image: quay.io/ibmmas/cli:13.20.0
13025
+ image: quay.io/ibmmas/cli:13.22.0
12889
13026
  imagePullPolicy: $(params.image_pull_policy)
12890
13027
  # --------------------------------------------------------------------------------
12891
13028
  # /home/runner/work/cli/cli/tekton/target/tasks/uds.yaml
@@ -12966,7 +13103,7 @@ spec:
12966
13103
  # IBM User Data Services (UDS)
12967
13104
  # -------------------------------------------------------------------------
12968
13105
  - name: uds
12969
- image: quay.io/ibmmas/cli:13.20.0
13106
+ image: quay.io/ibmmas/cli:13.22.0
12970
13107
  imagePullPolicy: $(params.image_pull_policy)
12971
13108
  workingDir: /workspace/configs
12972
13109
  command:
@@ -13029,7 +13166,7 @@ spec:
13029
13166
  # IBM Data Reporter Operator (DRO)
13030
13167
  # -------------------------------------------------------------------------
13031
13168
  - name: dro
13032
- image: quay.io/ibmmas/cli:13.20.0
13169
+ image: quay.io/ibmmas/cli:13.22.0
13033
13170
  imagePullPolicy: $(params.image_pull_policy)
13034
13171
  workingDir: /workspace/configs
13035
13172
  command:
@@ -13115,7 +13252,7 @@ spec:
13115
13252
  description: "The value to set"
13116
13253
  steps:
13117
13254
  - name: update-configmap
13118
- image: quay.io/ibmmas/cli:13.20.0
13255
+ image: quay.io/ibmmas/cli:13.22.0
13119
13256
  command:
13120
13257
  - /opt/app-root/src/update-configmap.sh
13121
13258
  env:
@@ -13162,7 +13299,7 @@ spec:
13162
13299
 
13163
13300
  steps:
13164
13301
  - name: wait-for-configmap
13165
- image: quay.io/ibmmas/cli:13.20.0
13302
+ image: quay.io/ibmmas/cli:13.22.0
13166
13303
  command:
13167
13304
  - /opt/app-root/src/wait-for-configmap.sh
13168
13305
  env:
@@ -13243,7 +13380,7 @@ spec:
13243
13380
 
13244
13381
  steps:
13245
13382
  - name: wait-for-configmap
13246
- image: quay.io/ibmmas/cli:13.20.0
13383
+ image: quay.io/ibmmas/cli:13.22.0
13247
13384
  command:
13248
13385
  - /opt/app-root/src/wait-for-configmap.sh
13249
13386
  env:
@@ -13303,7 +13440,7 @@ spec:
13303
13440
 
13304
13441
  steps:
13305
13442
  - name: wait
13306
- image: quay.io/ibmmas/cli:13.20.0
13443
+ image: quay.io/ibmmas/cli:13.22.0
13307
13444
  command:
13308
13445
  - /opt/app-root/src/wait-for-tekton.sh
13309
13446
  env:
@@ -20634,6 +20771,8 @@ spec:
20634
20771
  type: string
20635
20772
  - name: fvt_version_sls
20636
20773
  type: string
20774
+ - name: fvt_version_facilities
20775
+ type: string
20637
20776
 
20638
20777
  - name: fvt_blacklist_core
20639
20778
  type: string
@@ -20696,6 +20835,9 @@ spec:
20696
20835
  - name: launchfvt_manage_is
20697
20836
  type: string
20698
20837
  default: "true"
20838
+ - name: launchfvt_facilities
20839
+ type: string
20840
+ default: "true"
20699
20841
 
20700
20842
  - name: mas_app_channel_iot
20701
20843
  type: string
@@ -20718,6 +20860,9 @@ spec:
20718
20860
  - name: mas_app_channel_predict
20719
20861
  type: string
20720
20862
  default: ""
20863
+ - name: mas_app_channel_facilities
20864
+ type: string
20865
+ default: ""
20721
20866
 
20722
20867
  - name: ldap_url
20723
20868
  type: string
@@ -20794,6 +20939,8 @@ spec:
20794
20939
  value: $(params.fvt_version_data_dictionary)
20795
20940
  - name: fvt_version_sls
20796
20941
  value: $(params.fvt_version_sls)
20942
+ - name: fvt_version_facilities
20943
+ value: $(params.fvt_version_facilities)
20797
20944
 
20798
20945
  - name: fvt_blacklist_core
20799
20946
  value: $(params.fvt_blacklist_core)
@@ -20837,6 +20984,8 @@ spec:
20837
20984
  value: $(params.launchfvt_visualinspection)
20838
20985
  - name: launchfvt_manage_is
20839
20986
  value: $(params.launchfvt_manage_is)
20987
+ - name: launchfvt_facilities
20988
+ value: $(params.launchfvt_facilities)
20840
20989
 
20841
20990
  - name: mas_app_channel_iot
20842
20991
  value: $(params.mas_app_channel_iot)
@@ -20852,6 +21001,8 @@ spec:
20852
21001
  value: $(params.mas_app_channel_optimizer)
20853
21002
  - name: mas_app_channel_predict
20854
21003
  value: $(params.mas_app_channel_predict)
21004
+ - name: mas_app_channel_facilities
21005
+ value: $(params.mas_app_channel_facilities)
20855
21006
 
20856
21007
  - name: ldap_url
20857
21008
  value: $(params.ldap_url)
@@ -20956,6 +21107,9 @@ spec:
20956
21107
  - name: mas_app_channel_visualinspection
20957
21108
  type: string
20958
21109
  default: ""
21110
+ - name: mas_app_channel_facilities
21111
+ type: string
21112
+ default: ""
20959
21113
  - name: github_pat
20960
21114
  type: string
20961
21115
  - name: ibmcloud_apikey
@@ -21068,6 +21222,8 @@ spec:
21068
21222
  value: $(params.mas_app_channel_predict)
21069
21223
  - name: mas_app_channel_visualinspection
21070
21224
  value: $(params.mas_app_channel_visualinspection)
21225
+ - name: mas_app_channel_facilities
21226
+ value: $(params.mas_app_channel_facilities)
21071
21227
  - name: github_pat
21072
21228
  value: $(params.github_pat)
21073
21229
  - name: manual_certs_control_flag
@@ -21162,6 +21318,9 @@ spec:
21162
21318
  - name: mas_app_channel_visualinspection
21163
21319
  type: string
21164
21320
  default: ""
21321
+ - name: mas_app_channel_facilities
21322
+ type: string
21323
+ default: ""
21165
21324
  - name: github_pat
21166
21325
  type: string
21167
21326
  - name: ibmcloud_apikey
@@ -21254,6 +21413,8 @@ spec:
21254
21413
  value: $(params.mas_app_channel_predict)
21255
21414
  - name: mas_app_channel_visualinspection
21256
21415
  value: $(params.mas_app_channel_visualinspection)
21416
+ - name: mas_app_channel_facilities
21417
+ value: $(params.mas_app_channel_facilities)
21257
21418
  - name: github_pat
21258
21419
  value: $(params.github_pat)
21259
21420
  - name: manual_certs_control_flag
@@ -27484,6 +27645,11 @@ kind: Pipeline
27484
27645
  metadata:
27485
27646
  name: mas-upgrade
27486
27647
  spec:
27648
+ workspaces:
27649
+ # The generated configuration files
27650
+ - name: shared-configs
27651
+ # PodTemplates configurations
27652
+ - name: shared-pod-templates
27487
27653
  params:
27488
27654
  # 1. Common Parameters
27489
27655
  # -------------------------------------------------------------------------
@@ -27518,109 +27684,1195 @@ spec:
27518
27684
  - name: mas_instance_id
27519
27685
  type: string
27520
27686
  default: ""
27521
-
27522
- # 2. Upgrade
27687
+
27688
+ # 2. Installation (only needed if Manage Foundation is going to be installed)
27523
27689
  # -------------------------------------------------------------------------
27524
- - name: skip_compatibility_check
27690
+ # Storage Class Selection
27691
+ # -----------------------------------------------------------------------------
27692
+ - name: storage_class_rwo
27525
27693
  type: string
27526
- default: "False"
27527
- description: Skip performing compatiblity checks before upgrade
27694
+ default: ""
27695
+ description: ReadWriteOnce storage class
27696
+ - name: storage_class_rwx
27697
+ type: string
27698
+ default: ""
27699
+ description: ReadWriteMany storage class
27700
+
27701
+ # Entitlement
27702
+ # -----------------------------------------------------------------------------
27703
+ - name: ibm_entitlement_key
27704
+ type: string
27705
+ description: IBM Entitlement Key
27528
27706
 
27529
27707
  # Pipeline config
27708
+ # -----------------------------------------------------------------------------
27530
27709
  - name: skip_pre_check
27531
27710
  type: string
27532
27711
  default: ""
27533
27712
 
27534
- # MAS Configuration - Application Channels
27535
- # -------------------------------------------------------------------------
27536
- - name: mas_app_channel_iot
27713
+ # Cluster config
27714
+ - name: ocp_ingress_tls_secret_name
27537
27715
  type: string
27538
- description: Subscription channel for IoT application operator
27539
27716
  default: ""
27540
- - name: mas_app_channel_manage
27717
+
27718
+ # IBM Cloud
27719
+ # -----------------------------------------------------------------------------
27720
+ - name: ibmcloud_apikey
27541
27721
  type: string
27542
- description: Subscription channel for Manage application operator
27543
27722
  default: ""
27544
- - name: mas_app_channel_monitor
27723
+ - name: ibmcloud_resourcegroup
27545
27724
  type: string
27546
- description: Subscription channel for Monitor application operator
27547
27725
  default: ""
27548
- - name: mas_app_channel_optimizer
27726
+
27727
+ # Dependencies - ECK
27728
+ # -----------------------------------------------------------------------------
27729
+ - name: eck_action
27730
+ type: string
27731
+ default: "no-action"
27732
+
27733
+ - name: eck_enable_elasticsearch
27549
27734
  type: string
27550
- description: Subscription channel for Optimizer application operator
27551
27735
  default: ""
27552
- - name: mas_app_channel_predict
27736
+ - name: eck_enable_kibana
27553
27737
  type: string
27554
- description: Subscription channel for Predict application operator
27555
27738
  default: ""
27556
- - name: mas_app_channel_assist
27739
+ - name: eck_enable_logstash
27557
27740
  type: string
27558
- description: Subscription channel for Assist application operator
27559
27741
  default: ""
27560
- - name: mas_app_channel_visualinspection
27742
+ - name: eck_enable_filebeat
27561
27743
  type: string
27562
- description: Subscription channel for MVI application operator
27563
27744
  default: ""
27564
- # - name: mas_app_channel_aibroker
27565
- # type: string
27566
- # description: Subscription channel for AI Broker application operator
27567
- # default: ""
27568
27745
 
27746
+ - name: eck_remote_es_hosts
27747
+ type: string
27748
+ default: ""
27749
+ - name: eck_remote_es_username
27750
+ type: string
27751
+ default: ""
27752
+ - name: eck_remote_es_password
27753
+ type: string
27754
+ default: ""
27569
27755
 
27570
- tasks:
27571
- # 1. Wait for approval & verify health of the cluster before we change anything
27756
+
27757
+ # Dependencies - Turbonomic
27758
+ # -----------------------------------------------------------------------------
27759
+ # KubeTurbo Configuration
27572
27760
  # -------------------------------------------------------------------------
27573
- - name: waitfor-approval
27574
- timeout: "0"
27575
- taskRef:
27576
- kind: Task
27577
- name: mas-devops-wait-for-configmap-v2
27578
- params:
27579
- - name: image_pull_policy
27580
- value: $(params.image_pull_policy)
27581
- - name: configmap_name
27582
- value: approval-upgrade
27761
+ - name: kubeturbo_namespace
27762
+ type: string
27763
+ description: MongoDb provider
27764
+ default: ""
27583
27765
 
27584
- - name: pre-upgrade-check
27585
- timeout: "0"
27586
- taskRef:
27587
- kind: Task
27588
- name: mas-devops-ocp-verify-all
27589
- params:
27590
- # Controls the image pull policy for the ibmmas/cli image
27591
- - name: image_pull_policy
27592
- value: $(params.image_pull_policy)
27766
+ # Turbonomic Configuration
27767
+ # -------------------------------------------------------------------------
27768
+ # Both turbonomic_target_name & turbonomic_server_url need to be set, or the turbonomic role will not execute
27769
+ - name: turbonomic_target_name
27770
+ type: string
27771
+ default: ""
27772
+ - name: turbonomic_server_url
27773
+ type: string
27774
+ default: ""
27775
+ - name: turbonomic_server_version
27776
+ type: string
27777
+ default: ""
27593
27778
 
27594
- # Pipeline Config
27595
- - name: skip_pre_check
27596
- value: $(params.skip_pre_check)
27597
- - name: devops_suite_name
27598
- value: pre-upgrade-check
27599
- when:
27600
- - input: "$(params.skip_pre_check)"
27601
- operator: notin
27602
- values: ["True", "true"]
27779
+ # Turbonomic Authentication
27780
+ - name: turbonomic_username
27781
+ type: string
27782
+ default: ""
27783
+ - name: turbonomic_password
27784
+ type: string
27785
+ default: ""
27603
27786
 
27604
- runAfter:
27605
- - waitfor-approval
27606
27787
 
27788
+ # Dependencies - SLS
27789
+ # -----------------------------------------------------------------------------
27790
+ - name: sls_namespace
27791
+ type: string
27792
+ default: ""
27793
+ - name: sls_entitlement_file
27794
+ type: string
27795
+ default: ""
27796
+ - name: sls_mongodb_cfg_file
27797
+ type: string
27798
+ # The default value works for the default in-cluster install, it will need
27799
+ # to be modified if the mongodb namespace is changed, or if using BYO MongoDb
27800
+ default: "/workspace/configs/mongo-mongoce.yml"
27801
+ - name: sls_catalog_source
27802
+ type: string
27803
+ default: ""
27804
+ - name: sls_channel
27805
+ type: string
27806
+ default: ""
27807
+ - name: sls_icr_cpopen
27808
+ type: string
27809
+ default: ""
27810
+ - name: sls_action
27811
+ type: string
27812
+ default: ""
27813
+
27814
+ # Dependencies - MongoDb
27815
+ # -----------------------------------------------------------------------------
27816
+ - name: mongodb_namespace
27817
+ type: string
27818
+ default: ""
27819
+ - name: mongodb_storage_class
27820
+ type: string
27821
+ default: ""
27822
+ - name: mongodb_replicas
27823
+ type: string
27824
+ description: Optional configuration for mongodb replicas
27825
+ default: ""
27826
+ - name: mongodb_cpu_requests
27827
+ type: string
27828
+ description: Optional configuration for mongodb cpu requests
27829
+ default: ""
27830
+ - name: mongodb_provider
27831
+ type: string
27832
+ description: MongoDb provider
27833
+ default: ""
27834
+ - name: mongodb_version
27835
+ type: string
27836
+ description: MongoDb version
27837
+ default: ""
27838
+ - name: mongodb_action
27839
+ type: string
27840
+ description: MongoDb action
27841
+ default: ""
27607
27842
 
27608
- # 2. Suite Upgrade (Phase 1)
27843
+ # Dependencies - IBM Cloud MongoDb
27609
27844
  # -------------------------------------------------------------------------
27610
- - name: core-upgrade
27611
- timeout: "0"
27612
- taskRef:
27613
- kind: Task
27614
- name: mas-devops-suite-upgrade
27615
- runAfter:
27616
- - pre-upgrade-check
27617
- params:
27618
- - name: mas_instance_id
27619
- value: $(params.mas_instance_id)
27620
- - name: mas_channel
27621
- value: $(params.mas_channel)
27622
- - name: skip_compatibility_check
27623
- value: $(params.skip_compatibility_check)
27845
+ - name: ibm_mongo_name
27846
+ type: string
27847
+ description: IBM Cloud MongoDb instance name
27848
+ default: ""
27849
+ - name: ibm_mongo_resourcegroup
27850
+ type: string
27851
+ description: IBM Cloud MongoDb resource group
27852
+ default: ""
27853
+ - name: ibm_mongo_region
27854
+ type: string
27855
+ description: IBM Cloud MongoDb instance region
27856
+ default: ""
27857
+ - name: ibm_mongo_admin_password
27858
+ type: string
27859
+ description: IBM Cloud MongoDb admin password
27860
+ default: ""
27861
+
27862
+ # Dependencies (Kafka) - General variables
27863
+ - name: kafka_action_system
27864
+ type: string
27865
+ description: Set to 'install' to set up a Kafka instance for the whole suite
27866
+ default: "none"
27867
+ - name: kafka_provider
27868
+ type: string
27869
+ description: Kafka provider
27870
+ default: ""
27871
+ - name: kafka_version
27872
+ type: string
27873
+ description: Kafka version
27874
+ default: ""
27875
+
27876
+ # Dependencies - AMQ Streams / Strimzi (Kafka)
27877
+ # -----------------------------------------------------------------------------
27878
+ - name: kafka_namespace
27879
+ type: string
27880
+ default: ""
27881
+ - name: kafka_cluster_size
27882
+ type: string
27883
+ default: ""
27884
+ - name: kafka_user_name
27885
+ type: string
27886
+ default: ""
27887
+
27888
+ # Dependencies - AWS MSK (Kafka)
27889
+ # -------------------------------------------------------------------------
27890
+ - name: vpc_id
27891
+ type: string
27892
+ default: ""
27893
+ - name: aws_kafka_user_name
27894
+ type: string
27895
+ default: ""
27896
+ - name: aws_kafka_user_password
27897
+ type: string
27898
+ default: ""
27899
+ - name: aws_msk_instance_type
27900
+ type: string
27901
+ default: ""
27902
+ - name: aws_msk_instance_number
27903
+ type: string
27904
+ default: ""
27905
+ - name: aws_msk_volume_size
27906
+ type: string
27907
+ default: ""
27908
+ - name: aws_msk_cidr_az1
27909
+ type: string
27910
+ default: ""
27911
+ - name: aws_msk_cidr_az2
27912
+ type: string
27913
+ default: ""
27914
+ - name: aws_msk_cidr_az3
27915
+ type: string
27916
+ default: ""
27917
+ - name: aws_msk_ingress_cidr
27918
+ type: string
27919
+ default: ""
27920
+ - name: aws_msk_egress_cidr
27921
+ type: string
27922
+ default: ""
27923
+
27924
+ # Dependencies - IBM Cloud Event Streams (Kafka)
27925
+ # -----------------------------------------------------------------------------
27926
+ - name: eventstreams_resourcegroup
27927
+ type: string
27928
+ default: ""
27929
+ - name: eventstreams_name
27930
+ type: string
27931
+ default: ""
27932
+ - name: eventstreams_location
27933
+ type: string
27934
+ default: ""
27935
+ - name: eventstreams_retention
27936
+ type: string
27937
+ default: ""
27938
+ - name: eventstreams_create_manage_jms_topics
27939
+ type: string
27940
+ default: ""
27941
+
27942
+ # Dependencies - NVIDIA GPU
27943
+ # -----------------------------------------------------------------------------
27944
+ - name: gpu_namespace
27945
+ type: string
27946
+ description: Optional. Nvidia gpu namespace
27947
+ default: ""
27948
+ - name: gpu_channel
27949
+ type: string
27950
+ description: Optional. Nvidia gpu channel for install and updates
27951
+ default: ""
27952
+ - name: nfd_namespace
27953
+ type: string
27954
+ description: Optional. Node feature discovery namespace
27955
+ default: ""
27956
+ - name: nfd_channel
27957
+ type: string
27958
+ description: Optional. Node feature discovery channel for install and updates
27959
+ default: ""
27960
+
27961
+ # Dependencies - DB2
27962
+ # -----------------------------------------------------------------------------
27963
+ # Dependencies - Db2 - Instance
27964
+ # -------------------------------------------------------------------------
27965
+ - name: db2_namespace
27966
+ type: string
27967
+ description: Namespace to create Db2uCluster instances
27968
+ default: "db2u"
27969
+ - name: db2_channel
27970
+ type: string
27971
+ description: Subscription channel for the Db2 Universal Operator
27972
+ default: ""
27973
+ - name: db2_dbname
27974
+ type: string
27975
+ description: The name of the database created
27976
+ default: "BLUDB"
27977
+ - name: db2_version
27978
+ type: string
27979
+ description: The version of the database created
27980
+ default: ""
27981
+ - name: db2_type
27982
+ type: string
27983
+ description: The type of the database created
27984
+ default: ""
27985
+ - name: db2_timezone
27986
+ type: string
27987
+ description: The timezone of the database created
27988
+ default: ""
27989
+ - name: db2_workload
27990
+ type: string
27991
+ description: The workload profile for the db2 instance ('PUREDATA_OLAP' or 'ANALYTICS')
27992
+ default: "ANALYTICS"
27993
+ - name: db2_4k_device_support
27994
+ type: string
27995
+ description: Enable 4K device support. Set to 'ON' or 'OFF'
27996
+ default: "ON"
27997
+ - name: db2_table_org
27998
+ type: string
27999
+ description: Customize the way database tables will be organized. Set to 'ROW' or 'COLUMN'
28000
+ default: "ROW"
28001
+
28002
+ # Dependences - Db2 - Node scheduling
28003
+ # -------------------------------------------------------------------------
28004
+ - name: db2_affinity_key
28005
+ type: string
28006
+ description: Configure node affinity (1/2)
28007
+ default: ""
28008
+ - name: db2_affinity_value
28009
+ type: string
28010
+ description: Configure node affinity (2/2)
28011
+ default: ""
28012
+ - name: db2_tolerate_key
28013
+ type: string
28014
+ description: Configure node tolerations (1/3)
28015
+ default: ""
28016
+ - name: db2_tolerate_value
28017
+ type: string
28018
+ description: Configure node tolerations (2/3)
28019
+ default: ""
28020
+ - name: db2_tolerate_effect
28021
+ type: string
28022
+ description: Configure node tolerations (3/3)
28023
+ default: ""
28024
+
28025
+ # Dependences - Db2 - CPU requests and limits
28026
+ # -------------------------------------------------------------------------
28027
+ - name: db2_cpu_requests
28028
+ type: string
28029
+ description: Define the Kubernetes CPU request for the Db2 pod
28030
+ default: "4000m"
28031
+ - name: db2_cpu_limits
28032
+ type: string
28033
+ description: Define the Kubernetes CPU limit for the Db2 pod
28034
+ default: "6000m"
28035
+
28036
+ # Dependencies - Db2 - Memory requests and limits
28037
+ # -------------------------------------------------------------------------
28038
+ - name: db2_memory_requests
28039
+ type: string
28040
+ description: Define the Kubernetes memory request for the Db2 pod
28041
+ default: "8Gi"
28042
+ - name: db2_memory_limits
28043
+ type: string
28044
+ description: Define the Kubernetes memory limit for the Db2 pod
28045
+ default: "16Gi"
28046
+
28047
+ # Dependencies - Db2 - Storage - Capacity
28048
+ # -------------------------------------------------------------------------
28049
+ - name: db2_meta_storage_class
28050
+ type: string
28051
+ description: Storage class (metadata)
28052
+ default: ""
28053
+ - name: db2_meta_storage_size
28054
+ type: string
28055
+ description: Storage capacity (metadata)
28056
+ default: "20Gi"
28057
+ - name: db2_backup_storage_class
28058
+ type: string
28059
+ description: Storage class (backup)
28060
+ default: ""
28061
+ - name: db2_backup_storage_size
28062
+ type: string
28063
+ description: Storage capacity (backup)
28064
+ default: "100Gi"
28065
+ - name: db2_logs_storage_class
28066
+ type: string
28067
+ description: Storage class (logs)
28068
+ default: ""
28069
+ - name: db2_logs_storage_size
28070
+ type: string
28071
+ description: Storage capacity (logs)
28072
+ default: "100Gi"
28073
+ - name: db2_temp_storage_class
28074
+ type: string
28075
+ description: Storage class (temp)
28076
+ default: ""
28077
+ - name: db2_temp_storage_size
28078
+ type: string
28079
+ description: Storage capacity (temp)
28080
+ default: "100Gi"
28081
+ - name: db2_data_storage_class
28082
+ type: string
28083
+ description: Storage class (data)
28084
+ default: ""
28085
+ - name: db2_data_storage_size
28086
+ type: string
28087
+ description: Storage capacity (data)
28088
+ default: "100Gi"
28089
+
28090
+ # Dependencies - Db2 - Storage - Access mode
28091
+ # -------------------------------------------------------------------------
28092
+ - name: db2_meta_storage_accessmode
28093
+ type: string
28094
+ description: Optional override for db2 meta storage access mode
28095
+ default: ""
28096
+ - name: db2_backup_storage_accessmode
28097
+ type: string
28098
+ description: Optional override for db2 backup storage access mode
28099
+ default: ""
28100
+ - name: db2_logs_storage_accessmode
28101
+ type: string
28102
+ description: Optional override for db2 logs storage access mode
28103
+ default: ""
28104
+ - name: db2_temp_storage_accessmode
28105
+ type: string
28106
+ description: Optional override for db2 temp storage access mode
28107
+ default: ""
28108
+ - name: db2_data_storage_accessmode
28109
+ type: string
28110
+ description: Optional override for db2 data storage access mode
28111
+ default: ""
28112
+
28113
+ # Dependencies - Db2 - LDAP
28114
+ # -------------------------------------------------------------------------
28115
+ - name: db2_ldap_username
28116
+ type: string
28117
+ description: Define the username of db2 in the local LDAP registry. If this is defined, the LDAP user will be the user identity passed into the MAS JDBC configuration.
28118
+ default: ""
28119
+ - name: db2_ldap_password
28120
+ type: string
28121
+ description: Define the password of the db2 user in the local LDAP registry. Must define when db2_ldap_username is used.
28122
+ default: ""
28123
+ - name: db2_action_system
28124
+ type: string
28125
+ description: Set to 'install' to set up a Db2 instance for the whole suite
28126
+ default: "none"
28127
+ - name: db2_action_manage
28128
+ type: string
28129
+ description: Set to 'install' to set up a Db2 instance for Manage
28130
+ default: "none"
28131
+ - name: db2_binding_manage
28132
+ type: string
28133
+ description: Set to 'system' if using the shared system JDBC configuration, or 'workspace-application' if using a dedicated JDBC configuration.
28134
+ default: ""
28135
+
28136
+ # Dependencies - CP4D
28137
+ # -----------------------------------------------------------------------------
28138
+ - name: cpd_operators_namespace
28139
+ type: string
28140
+ default: ""
28141
+ - name: cpd_instance_namespace
28142
+ type: string
28143
+ default: ""
28144
+ - name: cpd_primary_storage_class
28145
+ type: string
28146
+ default: ""
28147
+ - name: cpd_metadata_storage_class
28148
+ type: string
28149
+ default: ""
28150
+
28151
+ # Dependencies - CP4D Services
28152
+ # -----------------------------------------------------------------------------
28153
+ - name: cpd_product_version
28154
+ type: string
28155
+ default: ""
28156
+ - name: cpd_install_spss
28157
+ type: string
28158
+ default: ""
28159
+ - name: cpd_install_cognos
28160
+ type: string
28161
+ default: ""
28162
+ - name: cpd_install_ws
28163
+ type: string
28164
+ default: ""
28165
+ - name: cpd_install_wml
28166
+ type: string
28167
+ default: ""
28168
+ - name: cpd_install_ae
28169
+ type: string
28170
+ default: ""
28171
+
28172
+ # Dependencies - UDS
28173
+ # -----------------------------------------------------------------------------
28174
+ - name: uds_contact_email
28175
+ type: string
28176
+ default: ""
28177
+ - name: uds_contact_firstname
28178
+ type: string
28179
+ default: ""
28180
+ - name: uds_contact_lastname
28181
+ type: string
28182
+ default: ""
28183
+ - name: uds_event_scheduler_frequency
28184
+ type: string
28185
+ default: ""
28186
+ - name: uds_action
28187
+ type: string
28188
+ default: ""
28189
+ - name: dro_namespace
28190
+ type: string
28191
+ default: ""
28192
+ - name: mas_segment_key
28193
+ type: string
28194
+ default: ""
28195
+
28196
+ # Dependencies - AppConnect
28197
+ # -----------------------------------------------------------------------------
28198
+ # Subscription Channel
28199
+ - name: appconnect_channel
28200
+ type: string
28201
+ default: ""
28202
+ # Dashboard Configuration
28203
+ - name: appconnect_dashboard_version
28204
+ type: string
28205
+ default: ""
28206
+ - name: appconnect_dashboard_name
28207
+ type: string
28208
+ default: ""
28209
+ # License
28210
+ - name: appconnect_license_id
28211
+ type: string
28212
+ default: ""
28213
+ # Storage Class
28214
+ - name: appconnect_storage_class
28215
+ type: string
28216
+ default: ""
28217
+
28218
+
28219
+ # Dependencies - COS
28220
+ # -----------------------------------------------------------------------------
28221
+ - name: cos_type
28222
+ type: string
28223
+ description: COS Provider (ibm or ocs)
28224
+ default: ""
28225
+ - name: cos_resourcegroup
28226
+ type: string
28227
+ description: Name of an existing COS Resource Group in IBM Cloud account
28228
+ default: ""
28229
+ - name: cos_apikey
28230
+ type: string
28231
+ default: ""
28232
+ - name: cos_instance_name
28233
+ type: string
28234
+ description: Name of COS instance in IBM Cloud account
28235
+ default: ""
28236
+ - name: cos_action
28237
+ type: string
28238
+ description: COS action to be performed (provision or deprovision)
28239
+ default: ""
28240
+ - name: cos_use_hmac
28241
+ type: string
28242
+ description: Optional boolean variable weather hmac is enabled or not
28243
+ default: ""
28244
+
28245
+ # MAS Integration - Grafana
28246
+ # -----------------------------------------------------------------------------
28247
+ - name: grafana_action
28248
+ type: string
28249
+ description: Set to 'none' to skip Grafana installation
28250
+ default: "install"
28251
+ - name: grafana_namespace
28252
+ type: string
28253
+ default: ""
28254
+ - name: grafana_v5_namespace
28255
+ type: string
28256
+ default: ""
28257
+ - name: grafana_instance_storage_class
28258
+ type: string
28259
+ default: ""
28260
+ - name: grafana_instance_storage_size
28261
+ type: string
28262
+ default: ""
28263
+ - name: grafana_major_version
28264
+ type: string
28265
+ default: ""
28266
+
28267
+ # Certificate Manager
28268
+ # -----------------------------------------------------------------------------
28269
+ - name: cert_manager_provider
28270
+ type: string
28271
+ default: ""
28272
+ - name: cert_manager_action
28273
+ type: string
28274
+ default: ""
28275
+
28276
+ # MAS DNS Integrations - General
28277
+ # -----------------------------------------------------------------------------
28278
+ - name: dns_provider
28279
+ type: string
28280
+ default: ""
28281
+
28282
+ # MAS DNS Integrations - Cloudflare Support
28283
+ # -----------------------------------------------------------------------------
28284
+ - name: cloudflare_email
28285
+ type: string
28286
+ default: ""
28287
+ - name: cloudflare_apitoken
28288
+ type: string
28289
+ default: ""
28290
+ - name: cloudflare_zone
28291
+ type: string
28292
+ default: ""
28293
+ - name: cloudflare_subdomain
28294
+ type: string
28295
+ default: ""
28296
+
28297
+ # MAS DNS Integrations - IBM Cloud Internet Services Support
28298
+ # -----------------------------------------------------------------------------
28299
+ - name: cis_email
28300
+ type: string
28301
+ default: ""
28302
+ - name: cis_apikey
28303
+ type: string
28304
+ default: ""
28305
+ - name: cis_crn
28306
+ type: string
28307
+ default: ""
28308
+ - name: cis_subdomain
28309
+ type: string
28310
+ default: ""
28311
+
28312
+ # MAS DNS Integrations - CIS Security Enhancement Support
28313
+ # -------------------------------------------------------------------------
28314
+ - name: cis_service_name
28315
+ type: string
28316
+ default: ""
28317
+ - name: cis_enhanced_security
28318
+ type: string
28319
+ default: "false"
28320
+ - name: override_edge_certs
28321
+ type: string
28322
+ default: "false"
28323
+ - name: cis_proxy
28324
+ type: string
28325
+ default: "false"
28326
+
28327
+ # AWS basic info
28328
+ # -------------------------------------------------------------------------
28329
+ - name: aws_access_key_id
28330
+ type: string
28331
+ default: ""
28332
+ - name: aws_secret_access_key
28333
+ type: string
28334
+ default: ""
28335
+ - name: aws_region
28336
+ type: string
28337
+ default: ""
28338
+
28339
+ # MAS DNS Integrations - AWS Route 53
28340
+ # -------------------------------------------------------------------------
28341
+ - name: route53_hosted_zone_name
28342
+ type: string
28343
+ default: ""
28344
+ - name: route53_hosted_zone_region
28345
+ type: string
28346
+ default: ""
28347
+ - name: route53_email
28348
+ type: string
28349
+ default: ""
28350
+ - name: route53_subdomain
28351
+ type: string
28352
+ default: ""
28353
+
28354
+ # IBM Operator Catalog
28355
+ # -------------------------------------------------------------------------
28356
+ - name: mas_catalog_source
28357
+ type: string
28358
+ default: ibm-operator-catalog
28359
+ - name: mas_catalog_version
28360
+ type: string
28361
+ default: v8-amd64
28362
+ - name: mas_catalog_digest
28363
+ type: string
28364
+ description: Set when using dev or pre-release catalog in airgap
28365
+ default: ""
28366
+
28367
+ # MAS Configuration - Workspace
28368
+ # -------------------------------------------------------------------------
28369
+ - name: mas_workspace_id
28370
+ type: string
28371
+ description: Workspace ID used to configure all applications
28372
+ default: ""
28373
+ - name: mas_workspace_name
28374
+ type: string
28375
+ description: Workspace Name used when setting up the workspace
28376
+ default: My Workspace
28377
+
28378
+ # MAS Configuration - Application Channels
28379
+ # -------------------------------------------------------------------------
28380
+ - name: mas_app_channel_iot
28381
+ type: string
28382
+ description: Subscription channel for IoT application operator
28383
+ default: ""
28384
+ - name: mas_app_channel_manage
28385
+ type: string
28386
+ description: Subscription channel for Manage application operator
28387
+ default: ""
28388
+ - name: mas_app_channel_monitor
28389
+ type: string
28390
+ description: Subscription channel for Monitor application operator
28391
+ default: ""
28392
+ - name: mas_app_channel_optimizer
28393
+ type: string
28394
+ description: Subscription channel for Optimizer application operator
28395
+ default: ""
28396
+ - name: mas_app_channel_predict
28397
+ type: string
28398
+ description: Subscription channel for Predict application operator
28399
+ default: ""
28400
+ - name: mas_app_channel_assist
28401
+ type: string
28402
+ description: Subscription channel for Assist application operator
28403
+ default: ""
28404
+ - name: mas_app_channel_visualinspection
28405
+ type: string
28406
+ description: Subscription channel for MVI application operator
28407
+ default: ""
28408
+ # - name: mas_app_channel_aibroker
28409
+ # type: string
28410
+ # description: Subscription channel for AI Broker application operator
28411
+ # default: ""
28412
+
28413
+
28414
+ # MAS Configuration
28415
+ # -----------------------------------------------------------------------------
28416
+ - name: mas_domain
28417
+ type: string
28418
+ default: ""
28419
+ - name: mas_cluster_issuer
28420
+ type: string
28421
+ default: ""
28422
+ - name: mas_icr_cp
28423
+ type: string
28424
+ default: ""
28425
+ - name: mas_icr_cpopen
28426
+ type: string
28427
+ default: ""
28428
+ - name: mas_annotations
28429
+ type: string
28430
+ default: ""
28431
+ - name: mas_trust_default_cas
28432
+ type: string
28433
+ default: ""
28434
+ description: Optional boolean parameter that when set to False, disables the normal trust of well known public certificate authorities
28435
+ - name: enable_ipv6
28436
+ type: string
28437
+ default: "False"
28438
+ description: Optional boolean parameter that when set to True, enables IPv6
28439
+ - name: mas_manual_cert_mgmt
28440
+ type: string
28441
+ default: "False"
28442
+ description: Optional boolean parameter that when set to True, indicates that manually created certificates will be used to certify MAS and application routes
28443
+ - name: mas_add_channel
28444
+ type: string
28445
+ default: ""
28446
+ description: Data Dictionary subscription channel
28447
+ - name: mas_add_catalog
28448
+ type: string
28449
+ default: ""
28450
+ description: Data Dictionary catalog source
28451
+ - name: mas_enable_walkme
28452
+ type: string
28453
+ default: "True"
28454
+ description: Optional parameter to enable or disable guided tour
28455
+
28456
+ # Special characters configuration
28457
+ - name: mas_special_characters
28458
+ type: string
28459
+ default: ''
28460
+
28461
+ # SSO Configuration
28462
+ # -----------------------------------------------------------------------------
28463
+ - name: idle_timeout
28464
+ type: string
28465
+ default: ''
28466
+ - name: idp_session_timeout
28467
+ type: string
28468
+ default: ''
28469
+ - name: access_token_timeout
28470
+ type: string
28471
+ default: ''
28472
+ - name: refresh_token_timeout
28473
+ type: string
28474
+ default: ''
28475
+ - name: default_idp
28476
+ type: string
28477
+ default: ''
28478
+ - name: seamless_login
28479
+ type: string
28480
+ default: ''
28481
+ - name: sso_cookie_name
28482
+ type: string
28483
+ default: ''
28484
+ - name: allow_default_sso_cookie_name
28485
+ type: string
28486
+ default: ''
28487
+ - name: use_only_custom_cookie_name
28488
+ type: string
28489
+ default: ''
28490
+ - name: disable_ldap_cookie
28491
+ type: string
28492
+ default: ''
28493
+ - name: allow_custom_cache_key
28494
+ type: string
28495
+ default: ''
28496
+
28497
+ # MAS Configuration - Superuser Account
28498
+ # -----------------------------------------------------------------------------
28499
+ - name: mas_superuser_username
28500
+ type: string
28501
+ default: ""
28502
+ - name: mas_superuser_password
28503
+ type: string
28504
+ default: ""
28505
+
28506
+ # MAS Application Configuration - IoT Application
28507
+ # -----------------------------------------------------------------------------
28508
+ - name: mas_app_settings_iot_deployment_size
28509
+ type: string
28510
+ description: controls the workload size of iot containers
28511
+ default: ""
28512
+ - name: mas_app_settings_iot_mqttbroker_pvc_storage_class
28513
+ type: string
28514
+ description: defines storage class for iot messagesight
28515
+ default: ""
28516
+ - name: mas_app_settings_iot_fpl_pvc_storage_class
28517
+ type: string
28518
+ description: defines storage class for iot functions pipeline component
28519
+ default: ""
28520
+
28521
+ # MAS Application Configuration - Manage Application
28522
+ # -----------------------------------------------------------------------------
28523
+ - name: mas_appws_bindings_jdbc_manage
28524
+ type: string
28525
+ description: Select the JDBC configuration to bind to
28526
+ default: system
28527
+ - name: mas_appws_components
28528
+ type: string
28529
+ description: Manage components to configure in the workspace
28530
+ default: "base=latest,health=latest"
28531
+ - name: mas_app_settings_aio_flag
28532
+ type: string
28533
+ description: Flag indicating if Asset Investment Optimization (AIO) resource must be loaded or not. It can be loaded only when Optimizer application is installed.
28534
+ default: ""
28535
+ - name: mas_app_settings_demodata
28536
+ type: string
28537
+ description: Flag indicating if manage demodata should be loaded or not
28538
+ default: ""
28539
+ - name: mas_app_settings_base_lang
28540
+ type: string
28541
+ description: Defines Manage application base language
28542
+ default: "EN"
28543
+ - name: mas_app_settings_secondary_langs
28544
+ type: string
28545
+ description: Defines Manage application list of secondary languages
28546
+ default: ""
28547
+ - name: mas_app_settings_server_timezone
28548
+ type: string
28549
+ description: Defines Manage server timezone
28550
+ default: ""
28551
+ - name: mas_app_settings_persistent_volumes_flag
28552
+ type: string
28553
+ description: Flag indicating if persistent volumes should be configured by default during Manage Workspace activation. There are two defaulted File Storage Persistent Volumes Claim resources that will be created out of the box for Manage if this flag is set to true.
28554
+ default: "False"
28555
+ - name: mas_app_settings_jms_queue_pvc_storage_class
28556
+ type: string
28557
+ description: Storage Class for Manage JMS queues.
28558
+ default: ""
28559
+ - name: mas_app_settings_jms_queue_pvc_accessmode
28560
+ type: string
28561
+ description: Storage Access Mode for Manage JMS queues.
28562
+ default: ""
28563
+ - name: mas_app_settings_bim_pvc_storage_class
28564
+ type: string
28565
+ description: Storage Class for Manage BIM.
28566
+ default: ""
28567
+ - name: mas_app_settings_bim_pvc_accessmode
28568
+ type: string
28569
+ description: Storage Access Mode for Manage BIM.
28570
+ default: ""
28571
+ - name: mas_app_settings_doclinks_pvc_storage_class
28572
+ type: string
28573
+ description: Storage Class for Manage Doclinks.
28574
+ default: ""
28575
+ - name: mas_app_settings_doclinks_pvc_accessmode
28576
+ type: string
28577
+ description: Storage Access Mode for Manage Doclinks.
28578
+ default: ""
28579
+ - name: mas_app_settings_server_bundles_size
28580
+ type: string
28581
+ description: Provides different flavors of server bundle configuration to handle workload for Manage application.
28582
+ default: "dev"
28583
+ - name: is_full_manage
28584
+ type: string
28585
+ description: Set to true if full Manage is installed instead of Manage Foundation
28586
+ default: "true"
28587
+ - name: mas_app_settings_tablespace
28588
+ type: string
28589
+ description: Name of the Manage database tablespace
28590
+ default: ""
28591
+ - name: mas_app_settings_indexspace
28592
+ type: string
28593
+ description: Name of the Manage database indexspace
28594
+ default: ""
28595
+ - name: mas_app_settings_db2_schema
28596
+ type: string
28597
+ description: Name of the Manage database schema
28598
+ default: ""
28599
+ - name: mas_app_settings_customization_archive_name
28600
+ type: string
28601
+ description: Name of the Manage custom archive
28602
+ default: ""
28603
+ - name: mas_app_settings_customization_archive_url
28604
+ type: string
28605
+ description: URL of the Manage custom archive
28606
+ default: ""
28607
+ - name: mas_app_settings_customization_archive_username
28608
+ type: string
28609
+ description: Username to authenticate into Manage custom archive url (if required)
28610
+ default: ""
28611
+ - name: mas_app_settings_customization_archive_password
28612
+ type: string
28613
+ description: Password to authenticate into Manage custom archive url (if required)
28614
+ default: ""
28615
+ - name: mas_app_settings_crypto_key
28616
+ type: string
28617
+ description: Manage database encryption key for MXE_SECURITY_CRYPTO_KEY
28618
+ default: ""
28619
+ - name: mas_app_settings_cryptox_key
28620
+ type: string
28621
+ description: Manage database encryption key for MXE_SECURITY_CRYPTOX_KEY
28622
+ default: ""
28623
+ - name: mas_app_settings_old_crypto_key
28624
+ type: string
28625
+ description: Manage database encryption key for MXE_SECURITY_OLD_CRYPTO_KEY
28626
+ default: ""
28627
+ - name: mas_app_settings_old_cryptox_key
28628
+ type: string
28629
+ description: Manage database encryption key for MXE_SECURITY_OLD_CRYPTOX_KEY
28630
+ default: ""
28631
+ - name: mas_app_settings_override_encryption_secrets_flag
28632
+ type: string
28633
+ description: Defines if Manage database encryption secret should be overriden with new values provided
28634
+ default: ""
28635
+ - name: mas_app_settings_default_jms
28636
+ type: string
28637
+ description: Set true if you want to configure JMS queues. It is false by default.
28638
+ default: "" # default is handled by ansible-devops
28639
+ - name: mas_manage_attachment_configuration_mode
28640
+ type: string
28641
+ description: Manage attachment configuration mode (cr or db)
28642
+ default: ""
28643
+ - name: mas_manage_attachments_provider
28644
+ type: string
28645
+ description: Manage attachment provider (filestorage, ibm, aws)
28646
+ default: ""
28647
+ - name: cos_bucket_name # cos_bucket_name in attachments role
28648
+ type: string
28649
+ description: COS Bucket optionally used to hold attachments in Manage
28650
+ default: ""
28651
+
28652
+ # MAS Application Configuration - IBM Maximo Location Services for ESRI
28653
+ # -----------------------------------------------------------------------------
28654
+ - name: install_arcgis
28655
+ type: string
28656
+ description: Flag to control whether to install IBM Maximo Location Services for ESRI
28657
+ default: ""
28658
+ - name: mas_arcgis_channel
28659
+ type: string
28660
+ description: Default channel for IBM Maximo Location Services for ESRI
28661
+ default: "" # default is handled by ansible-devops
28662
+
28663
+ # MAS Application Configuration - Health Application
28664
+ - name: mas_appws_bindings_health_wsl_flag
28665
+ type: string
28666
+ description: Boolean value indicating if Watson Studio must installed and bound to Manage/Health.
28667
+ default: ""
28668
+
28669
+ # MAS Application Configuration - Optimizer Application
28670
+ # -----------------------------------------------------------------------------
28671
+ - name: mas_app_plan_optimizer
28672
+ type: string
28673
+ description: Configure install plan of Optimizer application (full or limited)
28674
+ default: full
28675
+
28676
+ # MAS Application Configuration - Predict
28677
+ # -----------------------------------------------------------------------------
28678
+ - name: predict_deployment_size
28679
+ type: string
28680
+ description: controls the workload size of predict containers
28681
+ default: "small"
28682
+
28683
+ # Dependencies - IBM Maximo AI Broker
28684
+ # -----------------------------------------------------------------------------
28685
+ # MAS Application Configuration - IBM Maximo AI Broker
28686
+ # -----------------------------------------------------------------------------
28687
+ # - name: mas_aibroker_channel
28688
+ - name: mas_app_channel_aibroker
28689
+ type: string
28690
+ description: Default channel for IBM Maximo AI Broker
28691
+ default: ""
28692
+ - name: mas_aibroker_storage_accesskey
28693
+ type: string
28694
+ description: S3/Minio storage access ket for IBM Maximo AI Broker
28695
+ default: ""
28696
+ - name: mas_aibroker_storage_secretkey
28697
+ type: string
28698
+ description: S3/Minio storage secret key for IBM Maximo AI Broker
28699
+ default: ""
28700
+ - name: mas_aibroker_storage_host
28701
+ type: string
28702
+ description: S3/Minio storage host for IBM Maximo AI Broker
28703
+ default: ""
28704
+ - name: mas_aibroker_storage_region
28705
+ type: string
28706
+ description: S3/Minio storage region for IBM Maximo AI Broker
28707
+ default: ""
28708
+ - name: mas_aibroker_storage_port
28709
+ type: string
28710
+ description: S3/Minio storage port for IBM Maximo AI Broker
28711
+ default: ""
28712
+ - name: mas_aibroker_storage_ssl
28713
+ type: string
28714
+ description: S3/Minio storage ssl for IBM Maximo AI Broker
28715
+ default: ""
28716
+ - name: mas_aibroker_storage_provider
28717
+ type: string
28718
+ description: S3/Minio storage provider IBM Maximo AI Broker
28719
+ default: ""
28720
+ - name: mas_aibroker_storage_pipelines_bucket
28721
+ type: string
28722
+ description: S3/Minio storage pipeline bucket for IBM Maximo AI Broker
28723
+ default: ""
28724
+ - name: mas_aibroker_storage_tenants_bucket
28725
+ type: string
28726
+ description: S3/Minio storage tenants bucket for IBM Maximo AI Broker
28727
+ default: ""
28728
+ - name: mas_aibroker_storage_templates_bucket
28729
+ type: string
28730
+ description: S3/Minio storage template bucket for IBM Maximo AI Broker
28731
+ default: ""
28732
+ - name: mas_aibroker_tenant_name
28733
+ type: string
28734
+ description: Tenant name for IBM Maximo AI Broker
28735
+ default: ""
28736
+ - name: mas_aibroker_watsonxai_apikey
28737
+ type: string
28738
+ description: WatsonX api key for IBM Maximo AI Broker
28739
+ default: ""
28740
+ - name: mas_aibroker_watsonxai_url
28741
+ type: string
28742
+ description: WatsonX url for IBM Maximo AI Broker
28743
+ default: ""
28744
+ - name: mas_aibroker_watsonxai_project_id
28745
+ type: string
28746
+ description: WatsonX project ID for IBM Maximo AI Broker
28747
+ default: ""
28748
+ - name: mas_aibroker_watsonx_action
28749
+ type: string
28750
+ description: watsonx action for IBM Maximo AI Broker
28751
+ default: ""
28752
+ - name: mas_aibroker_apikey_action
28753
+ type: string
28754
+ description: AI Broker api key action for IBM Maximo AI Broker
28755
+ default: ""
28756
+ - name: mas_aibroker_s3_action
28757
+ type: string
28758
+ description: s3 action for IBM Maximo AI Broker
28759
+ default: ""
28760
+ - name: mas_aibroker_connector_tag
28761
+ type: string
28762
+ description: connector image tag for IBM Maximo AI Broker
28763
+ default: ""
28764
+ - name: mas_aibroker_controller_tag
28765
+ type: string
28766
+ description: controller image tag for IBM Maximo AI Broker
28767
+ default: ""
28768
+ - name: mas_aibroker_pipeline_steps_tag
28769
+ type: string
28770
+ description: pipeline steps image tag for IBM Maximo AI Broker
28771
+ default: ""
28772
+ - name: mas_aibroker_store_tag
28773
+ type: string
28774
+ description: store image tag for IBM Maximo AI Broker
28775
+ default: ""
28776
+ - name: mas_aibroker_watcher_tag
28777
+ type: string
28778
+ description: watcher image tag for IBM Maximo AI Broker
28779
+ default: ""
28780
+ - name: mas_aibroker_db_host
28781
+ type: string
28782
+ description: database host for IBM Maximo AI Broker
28783
+ default: ""
28784
+ - name: mas_aibroker_db_port
28785
+ type: string
28786
+ description: database port for IBM Maximo AI Broker
28787
+ default: ""
28788
+ - name: mas_aibroker_db_user
28789
+ type: string
28790
+ description: database user for IBM Maximo AI Broker
28791
+ default: ""
28792
+ - name: mas_aibroker_db_database
28793
+ type: string
28794
+ description: database name for IBM Maximo AI Broker
28795
+ default: ""
28796
+ - name: mas_aibroker_db_secret_name
28797
+ type: string
28798
+ description: database secret name for IBM Maximo AI Broker
28799
+ default: ""
28800
+ - name: mas_aibroker_db_secret_key
28801
+ type: string
28802
+ description: database secret key for IBM Maximo AI Broker
28803
+ default: ""
28804
+ - name: mas_aibroker_db_secret_value
28805
+ type: string
28806
+ description: database secret value for IBM Maximo AI Broker
28807
+ default: ""
28808
+
28809
+
28810
+ # 3. Upgrade
28811
+ # -------------------------------------------------------------------------
28812
+ - name: skip_compatibility_check
28813
+ type: string
28814
+ default: "False"
28815
+ description: Skip performing compatiblity checks before upgrade
28816
+
28817
+ - name: should_install_manage_foundation
28818
+ type: string
28819
+ description: Set to true if Manage Foundation is supposed to be installed (when upgrading to 9.1 from a 9.0 MAS without Manage)
28820
+ default: "false"
28821
+
28822
+ tasks:
28823
+ # 1. Wait for approval & verify health of the cluster before we change anything
28824
+ # -------------------------------------------------------------------------
28825
+ - name: waitfor-approval
28826
+ timeout: "0"
28827
+ taskRef:
28828
+ kind: Task
28829
+ name: mas-devops-wait-for-configmap-v2
28830
+ params:
28831
+ - name: image_pull_policy
28832
+ value: $(params.image_pull_policy)
28833
+ - name: configmap_name
28834
+ value: approval-upgrade
28835
+
28836
+ - name: pre-upgrade-check
28837
+ timeout: "0"
28838
+ taskRef:
28839
+ kind: Task
28840
+ name: mas-devops-ocp-verify-all
28841
+ params:
28842
+ # Controls the image pull policy for the ibmmas/cli image
28843
+ - name: image_pull_policy
28844
+ value: $(params.image_pull_policy)
28845
+
28846
+ # Pipeline Config
28847
+ - name: skip_pre_check
28848
+ value: $(params.skip_pre_check)
28849
+ - name: devops_suite_name
28850
+ value: pre-upgrade-check
28851
+ when:
28852
+ - input: "$(params.skip_pre_check)"
28853
+ operator: notin
28854
+ values: ["True", "true"]
28855
+
28856
+ runAfter:
28857
+ - waitfor-approval
28858
+
28859
+
28860
+ # 2. Suite Upgrade (Phase 1)
28861
+ # -------------------------------------------------------------------------
28862
+ - name: core-upgrade
28863
+ timeout: "0"
28864
+ taskRef:
28865
+ kind: Task
28866
+ name: mas-devops-suite-upgrade
28867
+ runAfter:
28868
+ - pre-upgrade-check
28869
+ params:
28870
+ - name: mas_instance_id
28871
+ value: $(params.mas_instance_id)
28872
+ - name: mas_channel
28873
+ value: $(params.mas_channel)
28874
+ - name: skip_compatibility_check
28875
+ value: $(params.skip_compatibility_check)
27624
28876
  - name: devops_suite_name
27625
28877
  value: core-upgrade
27626
28878
 
@@ -27641,52 +28893,528 @@ spec:
27641
28893
  runAfter:
27642
28894
  - core-upgrade
27643
28895
 
28896
+ # 3. Install Universal Dependencies (Phase 2)
28897
+ # 3.1 Db2
28898
+ # 3.1.1 System Db2
28899
+
28900
+ - name: db2-system
28901
+ params:
28902
+ - name: image_pull_policy
28903
+ value: $(params.image_pull_policy)
28904
+ - name: devops_suite_name
28905
+ value: dependencies-db2-system
28906
+ - name: mas_instance_id
28907
+ value: $(params.mas_instance_id)
28908
+ - name: ibm_entitlement_key
28909
+ value: $(params.ibm_entitlement_key)
28910
+ - name: db2_channel
28911
+ value: $(params.db2_channel)
28912
+ - name: db2_instance_name
28913
+ value: mas-$(params.mas_instance_id)-system
28914
+ - name: db2_namespace
28915
+ value: $(params.db2_namespace)
28916
+ - name: db2_dbname
28917
+ value: $(params.db2_dbname)
28918
+ - name: db2_version
28919
+ value: $(params.db2_version)
28920
+ - name: db2_workload
28921
+ value: $(params.db2_workload)
28922
+ - name: db2_4k_device_support
28923
+ value: $(params.db2_4k_device_support)
28924
+ - name: db2_table_org
28925
+ value: $(params.db2_table_org)
28926
+ - name: db2_affinity_key
28927
+ value: $(params.db2_affinity_key)
28928
+ - name: db2_affinity_value
28929
+ value: $(params.db2_affinity_value)
28930
+ - name: db2_tolerate_key
28931
+ value: $(params.db2_tolerate_key)
28932
+ - name: db2_tolerate_value
28933
+ value: $(params.db2_tolerate_value)
28934
+ - name: db2_tolerate_effect
28935
+ value: $(params.db2_tolerate_effect)
28936
+ - name: db2_cpu_requests
28937
+ value: $(params.db2_cpu_requests)
28938
+ - name: db2_cpu_limits
28939
+ value: $(params.db2_cpu_limits)
28940
+ - name: db2_memory_requests
28941
+ value: $(params.db2_memory_requests)
28942
+ - name: db2_memory_limits
28943
+ value: $(params.db2_memory_limits)
28944
+ - name: db2_meta_storage_size
28945
+ value: $(params.db2_meta_storage_size)
28946
+ - name: db2_backup_storage_size
28947
+ value: $(params.db2_backup_storage_size)
28948
+ - name: db2_logs_storage_size
28949
+ value: $(params.db2_logs_storage_size)
28950
+ - name: db2_temp_storage_size
28951
+ value: $(params.db2_temp_storage_size)
28952
+ - name: db2_data_storage_size
28953
+ value: $(params.db2_data_storage_size)
28954
+ - name: db2_meta_storage_class
28955
+ value: $(params.storage_class_rwx)
28956
+ - name: db2_data_storage_class
28957
+ value: $(params.storage_class_rwo)
28958
+ - name: db2_backup_storage_class
28959
+ value: $(params.storage_class_rwx)
28960
+ - name: db2_logs_storage_class
28961
+ value: $(params.storage_class_rwo)
28962
+ - name: db2_temp_storage_class
28963
+ value: $(params.storage_class_rwo)
28964
+ - name: db2_meta_storage_accessmode
28965
+ value: $(params.db2_meta_storage_accessmode)
28966
+ - name: db2_backup_storage_accessmode
28967
+ value: $(params.db2_backup_storage_accessmode)
28968
+ - name: db2_temp_storage_accessmode
28969
+ value: $(params.db2_temp_storage_accessmode)
28970
+ - name: db2_logs_storage_accessmode
28971
+ value: $(params.db2_logs_storage_accessmode)
28972
+ - name: db2_data_storage_accessmode
28973
+ value: $(params.db2_data_storage_accessmode)
28974
+ - name: mas_config_scope
28975
+ value: system
28976
+ - name: custom_labels
28977
+ value: $(params.custom_labels)
28978
+ runAfter:
28979
+ - core-verify
28980
+ taskRef:
28981
+ kind: Task
28982
+ name: mas-devops-db2
28983
+ timeout: '0'
28984
+ when:
28985
+ - input: $(params.db2_action_system)
28986
+ operator: in
28987
+ values:
28988
+ - install
28989
+ - input: $(params.should_install_manage_foundation)
28990
+ operator: in
28991
+ values:
28992
+ - 'true'
28993
+ workspaces:
28994
+ - name: configs
28995
+ workspace: shared-configs
28996
+
28997
+
28998
+ # 3.1.2 Dedicated Manage Db2
28999
+
29000
+ - name: db2-manage
29001
+ params:
29002
+ - name: image_pull_policy
29003
+ value: $(params.image_pull_policy)
29004
+ - name: devops_suite_name
29005
+ value: dependencies-db2-manage
29006
+ - name: mas_instance_id
29007
+ value: $(params.mas_instance_id)
29008
+ - name: ibm_entitlement_key
29009
+ value: $(params.ibm_entitlement_key)
29010
+ - name: db2_channel
29011
+ value: $(params.db2_channel)
29012
+ - name: db2_instance_name
29013
+ value: mas-$(params.mas_instance_id)-$(params.mas_workspace_id)-manage
29014
+ - name: db2_ldap_username
29015
+ value: $(params.db2_ldap_username)
29016
+ - name: db2_ldap_password
29017
+ value: $(params.db2_ldap_password)
29018
+ - name: db2_type
29019
+ value: $(params.db2_type)
29020
+ - name: db2_timezone
29021
+ value: $(params.db2_timezone)
29022
+ - name: db2_namespace
29023
+ value: $(params.db2_namespace)
29024
+ - name: db2_dbname
29025
+ value: $(params.db2_dbname)
29026
+ - name: db2_version
29027
+ value: $(params.db2_version)
29028
+ - name: db2_workload
29029
+ value: $(params.db2_workload)
29030
+ - name: db2_4k_device_support
29031
+ value: $(params.db2_4k_device_support)
29032
+ - name: db2_table_org
29033
+ value: $(params.db2_table_org)
29034
+ - name: db2_affinity_key
29035
+ value: $(params.db2_affinity_key)
29036
+ - name: db2_affinity_value
29037
+ value: $(params.db2_affinity_value)
29038
+ - name: db2_tolerate_key
29039
+ value: $(params.db2_tolerate_key)
29040
+ - name: db2_tolerate_value
29041
+ value: $(params.db2_tolerate_value)
29042
+ - name: db2_tolerate_effect
29043
+ value: $(params.db2_tolerate_effect)
29044
+ - name: db2_cpu_requests
29045
+ value: $(params.db2_cpu_requests)
29046
+ - name: db2_cpu_limits
29047
+ value: $(params.db2_cpu_limits)
29048
+ - name: db2_memory_requests
29049
+ value: $(params.db2_memory_requests)
29050
+ - name: db2_memory_limits
29051
+ value: $(params.db2_memory_limits)
29052
+ - name: db2_meta_storage_size
29053
+ value: $(params.db2_meta_storage_size)
29054
+ - name: db2_backup_storage_size
29055
+ value: $(params.db2_backup_storage_size)
29056
+ - name: db2_logs_storage_size
29057
+ value: $(params.db2_logs_storage_size)
29058
+ - name: db2_temp_storage_size
29059
+ value: $(params.db2_temp_storage_size)
29060
+ - name: db2_data_storage_size
29061
+ value: $(params.db2_data_storage_size)
29062
+ - name: db2_meta_storage_class
29063
+ value: $(params.storage_class_rwx)
29064
+ - name: db2_data_storage_class
29065
+ value: $(params.storage_class_rwo)
29066
+ - name: db2_backup_storage_class
29067
+ value: $(params.storage_class_rwx)
29068
+ - name: db2_logs_storage_class
29069
+ value: $(params.storage_class_rwo)
29070
+ - name: db2_temp_storage_class
29071
+ value: $(params.storage_class_rwo)
29072
+ - name: db2_meta_storage_accessmode
29073
+ value: $(params.db2_meta_storage_accessmode)
29074
+ - name: db2_backup_storage_accessmode
29075
+ value: $(params.db2_backup_storage_accessmode)
29076
+ - name: db2_temp_storage_accessmode
29077
+ value: $(params.db2_temp_storage_accessmode)
29078
+ - name: db2_logs_storage_accessmode
29079
+ value: $(params.db2_logs_storage_accessmode)
29080
+ - name: db2_data_storage_accessmode
29081
+ value: $(params.db2_data_storage_accessmode)
29082
+ - name: mas_config_scope
29083
+ value: wsapp
29084
+ - name: mas_workspace_id
29085
+ value: $(params.mas_workspace_id)
29086
+ - name: mas_application_id
29087
+ value: manage
29088
+ - name: custom_labels
29089
+ value: $(params.custom_labels)
29090
+ runAfter:
29091
+ - db2-system
29092
+ taskRef:
29093
+ kind: Task
29094
+ name: mas-devops-db2
29095
+ timeout: '0'
29096
+ when:
29097
+ - input: $(params.db2_action_manage)
29098
+ operator: in
29099
+ values:
29100
+ - install
29101
+ - input: $(params.should_install_manage_foundation)
29102
+ operator: in
29103
+ values:
29104
+ - 'true'
29105
+ workspaces:
29106
+ - name: configs
29107
+ workspace: shared-configs
29108
+
29109
+
29110
+ # 3.1.3 Configure Db2 in MAS
29111
+
29112
+ - name: suite-config-db2
29113
+ params:
29114
+ - name: image_pull_policy
29115
+ value: $(params.image_pull_policy)
29116
+ - name: devops_suite_name
29117
+ value: suite-config-db2
29118
+ - name: mas_instance_id
29119
+ value: $(params.mas_instance_id)
29120
+ runAfter:
29121
+ - db2-manage
29122
+ taskRef:
29123
+ kind: Task
29124
+ name: mas-devops-suite-config
29125
+ timeout: '0'
29126
+ when:
29127
+ - input: $(params.mas_app_channel_iot)$(params.mas_app_channel_manage)
29128
+ operator: notin
29129
+ values:
29130
+ - ''
29131
+ - input: $(params.should_install_manage_foundation)
29132
+ operator: in
29133
+ values:
29134
+ - 'true'
29135
+ workspaces:
29136
+ - name: configs
29137
+ workspace: shared-configs
29138
+
27644
29139
 
27645
- # 3. IoT Upgrade (Phase 2)
29140
+ # 4. Install & Configure Manage (Phase 3)
27646
29141
  # -------------------------------------------------------------------------
27647
- - name: app-iot-upgrade
29142
+ # 4.1. Prepare database for Maxinst
29143
+
29144
+ - name: suite-db2-setup-system
29145
+ params:
29146
+ - name: image_pull_policy
29147
+ value: $(params.image_pull_policy)
29148
+ - name: devops_suite_name
29149
+ value: suite-db2-setup-system
29150
+ - name: db2_instance_name
29151
+ value: mas-$(params.mas_instance_id)-system
29152
+ - name: db2_namespace
29153
+ value: $(params.db2_namespace)
29154
+ runAfter:
29155
+ - suite-config-db2
29156
+ taskRef:
29157
+ kind: Task
29158
+ name: mas-devops-suite-db2-setup-for-manage
29159
+ timeout: '0'
29160
+ when:
29161
+ - input: $(params.mas_app_channel_manage)
29162
+ operator: notin
29163
+ values:
29164
+ - ''
29165
+ - input: $(params.db2_action_system)
29166
+ operator: in
29167
+ values:
29168
+ - install
29169
+ - input: $(params.db2_action_manage)
29170
+ operator: notin
29171
+ values:
29172
+ - install
29173
+ - byo
29174
+ - input: $(params.should_install_manage_foundation)
29175
+ operator: in
29176
+ values:
29177
+ - 'true'
29178
+
29179
+
29180
+
29181
+ - name: suite-db2-setup-manage
29182
+ params:
29183
+ - name: image_pull_policy
29184
+ value: $(params.image_pull_policy)
29185
+ - name: devops_suite_name
29186
+ value: suite-db2-setup-manage
29187
+ - name: db2_instance_name
29188
+ value: mas-$(params.mas_instance_id)-$(params.mas_workspace_id)-manage
29189
+ - name: db2_namespace
29190
+ value: $(params.db2_namespace)
29191
+ runAfter:
29192
+ - suite-config-db2
29193
+ taskRef:
29194
+ kind: Task
29195
+ name: mas-devops-suite-db2-setup-for-manage
29196
+ timeout: '0'
29197
+ when:
29198
+ - input: $(params.mas_app_channel_manage)
29199
+ operator: notin
29200
+ values:
29201
+ - ''
29202
+ - input: $(params.db2_action_manage)
29203
+ operator: in
29204
+ values:
29205
+ - install
29206
+ - input: $(params.should_install_manage_foundation)
29207
+ operator: in
29208
+ values:
29209
+ - 'true'
29210
+
29211
+
29212
+ # 4.2 Manage Install
29213
+
29214
+ - name: app-install-manage
29215
+ params:
29216
+ - name: image_pull_policy
29217
+ value: $(params.image_pull_policy)
29218
+ - name: devops_suite_name
29219
+ value: app-manage-install
29220
+ - name: mas_instance_id
29221
+ value: $(params.mas_instance_id)
29222
+ - name: mas_app_id
29223
+ value: manage
29224
+ - name: artifactory_username
29225
+ value: $(params.artifactory_username)
29226
+ - name: artifactory_token
29227
+ value: $(params.artifactory_token)
29228
+ - name: mas_app_channel
29229
+ value: $(params.mas_app_channel_manage)
29230
+ - name: ibm_entitlement_key
29231
+ value: $(params.ibm_entitlement_key)
29232
+ - name: custom_labels
29233
+ value: $(params.custom_labels)
29234
+ runAfter:
29235
+ - suite-db2-setup-system
29236
+ - suite-db2-setup-manage
29237
+ taskRef:
29238
+ kind: Task
29239
+ name: mas-devops-suite-app-install
29240
+ timeout: '0'
29241
+ when:
29242
+ - input: $(params.mas_app_channel_manage)
29243
+ operator: notin
29244
+ values:
29245
+ - ''
29246
+ - input: $(params.should_install_manage_foundation)
29247
+ operator: in
29248
+ values:
29249
+ - 'true'
29250
+ workspaces:
29251
+ - name: pod-templates
29252
+ workspace: shared-pod-templates
29253
+
29254
+
29255
+ # 4.3 Configure Manage workspace
29256
+
29257
+ - name: app-cfg-manage
29258
+ params:
29259
+ - name: image_pull_policy
29260
+ value: $(params.image_pull_policy)
29261
+ - name: devops_suite_name
29262
+ value: app-manage-cfg
29263
+ - name: mas_instance_id
29264
+ value: $(params.mas_instance_id)
29265
+ - name: mas_app_id
29266
+ value: manage
29267
+ - name: mas_workspace_id
29268
+ value: $(params.mas_workspace_id)
29269
+ - name: mas_appws_components
29270
+ value: $(params.mas_appws_components)
29271
+ - name: mas_appws_bindings_jdbc
29272
+ value: $(params.mas_appws_bindings_jdbc_manage)
29273
+ - name: mas_appws_bindings_health_wsl_flag
29274
+ value: $(params.mas_appws_bindings_health_wsl_flag)
29275
+ - name: mas_app_settings_aio_flag
29276
+ value: $(params.mas_app_settings_aio_flag)
29277
+ - name: mas_app_settings_demodata
29278
+ value: $(params.mas_app_settings_demodata)
29279
+ - name: mas_app_settings_base_lang
29280
+ value: $(params.mas_app_settings_base_lang)
29281
+ - name: mas_app_settings_secondary_langs
29282
+ value: $(params.mas_app_settings_secondary_langs)
29283
+ - name: mas_app_settings_server_timezone
29284
+ value: $(params.mas_app_settings_server_timezone)
29285
+ - name: mas_app_settings_persistent_volumes_flag
29286
+ value: $(params.mas_app_settings_persistent_volumes_flag)
29287
+ - name: mas_app_settings_jms_queue_pvc_storage_class
29288
+ value: $(params.mas_app_settings_jms_queue_pvc_storage_class)
29289
+ - name: mas_app_settings_jms_queue_pvc_accessmode
29290
+ value: $(params.mas_app_settings_jms_queue_pvc_accessmode)
29291
+ - name: mas_app_settings_bim_pvc_storage_class
29292
+ value: $(params.mas_app_settings_bim_pvc_storage_class)
29293
+ - name: mas_app_settings_bim_pvc_accessmode
29294
+ value: $(params.mas_app_settings_bim_pvc_accessmode)
29295
+ - name: mas_app_settings_doclinks_pvc_storage_class
29296
+ value: $(params.mas_app_settings_doclinks_pvc_storage_class)
29297
+ - name: mas_app_settings_doclinks_pvc_accessmode
29298
+ value: $(params.mas_app_settings_doclinks_pvc_accessmode)
29299
+ - name: mas_app_settings_server_bundles_size
29300
+ value: $(params.mas_app_settings_server_bundles_size)
29301
+ - name: is_full_manage
29302
+ value: $(params.is_full_manage)
29303
+ - name: mas_app_settings_tablespace
29304
+ value: $(params.mas_app_settings_tablespace)
29305
+ - name: mas_app_settings_indexspace
29306
+ value: $(params.mas_app_settings_indexspace)
29307
+ - name: mas_app_settings_db2_schema
29308
+ value: $(params.mas_app_settings_db2_schema)
29309
+ - name: mas_app_settings_customization_archive_url
29310
+ value: $(params.mas_app_settings_customization_archive_url)
29311
+ - name: mas_app_settings_customization_archive_name
29312
+ value: $(params.mas_app_settings_customization_archive_name)
29313
+ - name: mas_app_settings_customization_archive_username
29314
+ value: $(params.mas_app_settings_customization_archive_username)
29315
+ - name: mas_app_settings_customization_archive_password
29316
+ value: $(params.mas_app_settings_customization_archive_password)
29317
+ - name: mas_app_settings_crypto_key
29318
+ value: $(params.mas_app_settings_crypto_key)
29319
+ - name: mas_app_settings_cryptox_key
29320
+ value: $(params.mas_app_settings_cryptox_key)
29321
+ - name: mas_app_settings_old_crypto_key
29322
+ value: $(params.mas_app_settings_old_crypto_key)
29323
+ - name: mas_app_settings_old_cryptox_key
29324
+ value: $(params.mas_app_settings_old_cryptox_key)
29325
+ - name: mas_app_settings_override_encryption_secrets_flag
29326
+ value: $(params.mas_app_settings_override_encryption_secrets_flag)
29327
+ - name: mas_app_settings_default_jms
29328
+ value: $(params.mas_app_settings_default_jms)
29329
+ - name: mas_manage_attachment_configuration_mode
29330
+ value: $(params.mas_manage_attachment_configuration_mode)
29331
+ - name: mas_manage_attachments_provider
29332
+ value: $(params.mas_manage_attachments_provider)
29333
+ - name: db2_namespace
29334
+ value: $(params.db2_namespace)
29335
+ - name: ibmcloud_resourcegroup
29336
+ value: $(params.ibmcloud_resourcegroup)
29337
+ - name: ibmcloud_apikey
29338
+ value: $(params.ibmcloud_apikey)
29339
+ - name: cos_resourcegroup
29340
+ value: $(params.cos_resourcegroup)
29341
+ - name: cos_apikey
29342
+ value: $(params.cos_apikey)
29343
+ - name: cos_instance_name
29344
+ value: $(params.cos_instance_name)
29345
+ - name: cos_bucket_name
29346
+ value: $(params.cos_bucket_name)
29347
+ - name: custom_labels
29348
+ value: $(params.custom_labels)
29349
+ runAfter:
29350
+ - app-install-manage
29351
+ taskRef:
29352
+ kind: Task
29353
+ name: mas-devops-suite-app-config
29354
+ timeout: '0'
29355
+ when:
29356
+ - input: $(params.mas_app_channel_manage)
29357
+ operator: notin
29358
+ values:
29359
+ - ''
29360
+ - input: $(params.should_install_manage_foundation)
29361
+ operator: in
29362
+ values:
29363
+ - 'true'
29364
+ workspaces:
29365
+ - name: configs
29366
+ workspace: shared-configs
29367
+ - name: pod-templates
29368
+ workspace: shared-pod-templates
29369
+
29370
+
29371
+ # 5. Manage Upgrade (Phase 4)
29372
+ # -------------------------------------------------------------------------
29373
+ - name: app-manage-upgrade
27648
29374
  timeout: "0"
27649
29375
  params:
27650
29376
  - name: mas_instance_id
27651
29377
  value: $(params.mas_instance_id)
27652
29378
  - name: mas_app_id
27653
- value: iot
29379
+ value: manage
27654
29380
  - name: mas_app_channel
27655
- value: $(params.mas_app_channel_iot)
29381
+ value: $(params.mas_app_channel_manage)
27656
29382
  - name: skip_compatibility_check
27657
29383
  value: $(params.skip_compatibility_check)
27658
29384
  - name: devops_suite_name
27659
- value: app-iot-upgrade
29385
+ value: app-manage-upgrade
27660
29386
  taskRef:
27661
29387
  kind: Task
27662
29388
  name: mas-devops-suite-app-upgrade
27663
29389
  runAfter:
27664
- - core-verify
27665
-
29390
+ - app-cfg-manage
29391
+ when:
29392
+ - input: "$(params.should_install_manage_foundation)"
29393
+ operator: notin
29394
+ values: ["true"]
27666
29395
 
27667
- # 4. Manage Upgrade (Phase 2)
29396
+ # 6. IoT Upgrade (Phase 5 - after Manage)
27668
29397
  # -------------------------------------------------------------------------
27669
- - name: app-manage-upgrade
29398
+ - name: app-iot-upgrade
27670
29399
  timeout: "0"
27671
29400
  params:
27672
29401
  - name: mas_instance_id
27673
29402
  value: $(params.mas_instance_id)
27674
29403
  - name: mas_app_id
27675
- value: manage
29404
+ value: iot
27676
29405
  - name: mas_app_channel
27677
- value: $(params.mas_app_channel_manage)
29406
+ value: $(params.mas_app_channel_iot)
27678
29407
  - name: skip_compatibility_check
27679
29408
  value: $(params.skip_compatibility_check)
27680
29409
  - name: devops_suite_name
27681
- value: app-manage-upgrade
29410
+ value: app-iot-upgrade
27682
29411
  taskRef:
27683
29412
  kind: Task
27684
29413
  name: mas-devops-suite-app-upgrade
27685
29414
  runAfter:
27686
- - core-verify
27687
-
29415
+ - app-manage-upgrade
27688
29416
 
27689
- # 5. Visual Inspection Upgrade (Phase 2)
29417
+ # 7. Visual Inspection Upgrade (Phase 5 - after Manage)
27690
29418
  # -------------------------------------------------------------------------
27691
29419
  - name: app-visualinspection-upgrade
27692
29420
  timeout: "0"
@@ -27705,10 +29433,10 @@ spec:
27705
29433
  kind: Task
27706
29434
  name: mas-devops-suite-app-upgrade
27707
29435
  runAfter:
27708
- - core-verify
29436
+ - app-manage-upgrade
27709
29437
 
27710
29438
 
27711
- # 6. Assist Upgrade (Phase 2)
29439
+ # 8. Assist Upgrade (Phase 5 - after Manage)
27712
29440
  # -------------------------------------------------------------------------
27713
29441
  - name: app-assist-upgrade
27714
29442
  timeout: "0"
@@ -27727,10 +29455,10 @@ spec:
27727
29455
  kind: Task
27728
29456
  name: mas-devops-suite-app-upgrade
27729
29457
  runAfter:
27730
- - core-verify
29458
+ - app-manage-upgrade
27731
29459
 
27732
29460
 
27733
- # 7. Optimizer Upgrade (Phase 2)
29461
+ # 9. Optimizer Upgrade (Phase 5 - after Manage)
27734
29462
  # -------------------------------------------------------------------------
27735
29463
  - name: app-optimizer-upgrade
27736
29464
  timeout: "0"
@@ -27749,54 +29477,51 @@ spec:
27749
29477
  kind: Task
27750
29478
  name: mas-devops-suite-app-upgrade
27751
29479
  runAfter:
27752
- - core-verify
27753
-
29480
+ - app-manage-upgrade
27754
29481
 
27755
- # 8. Monitor Upgrade (Phase 3 - after IoT)
29482
+ # 10. Predict Upgrade (Phase 5 - after Manage)
27756
29483
  # -------------------------------------------------------------------------
27757
- - name: app-monitor-upgrade
29484
+ - name: app-predict-upgrade
27758
29485
  timeout: "0"
27759
29486
  params:
27760
29487
  - name: mas_instance_id
27761
29488
  value: $(params.mas_instance_id)
27762
29489
  - name: mas_app_id
27763
- value: monitor
29490
+ value: predict
27764
29491
  - name: mas_app_channel
27765
- value: $(params.mas_app_channel_monitor)
29492
+ value: $(params.mas_app_channel_predict)
27766
29493
  - name: skip_compatibility_check
27767
29494
  value: $(params.skip_compatibility_check)
27768
29495
  - name: devops_suite_name
27769
- value: app-monitor-upgrade
29496
+ value: app-predict-upgrade
27770
29497
  taskRef:
27771
29498
  kind: Task
27772
29499
  name: mas-devops-suite-app-upgrade
27773
29500
  runAfter:
27774
- - app-iot-upgrade
27775
-
29501
+ - app-manage-upgrade
27776
29502
 
27777
- # 9. Predict Upgrade (Phase 3 - after Manage)
29503
+ # 11. Monitor Upgrade (Phase 6 - after IoT)
27778
29504
  # -------------------------------------------------------------------------
27779
- - name: app-predict-upgrade
29505
+ - name: app-monitor-upgrade
27780
29506
  timeout: "0"
27781
29507
  params:
27782
29508
  - name: mas_instance_id
27783
29509
  value: $(params.mas_instance_id)
27784
29510
  - name: mas_app_id
27785
- value: predict
29511
+ value: monitor
27786
29512
  - name: mas_app_channel
27787
- value: $(params.mas_app_channel_predict)
29513
+ value: $(params.mas_app_channel_monitor)
27788
29514
  - name: skip_compatibility_check
27789
29515
  value: $(params.skip_compatibility_check)
27790
29516
  - name: devops_suite_name
27791
- value: app-predict-upgrade
29517
+ value: app-monitor-upgrade
27792
29518
  taskRef:
27793
29519
  kind: Task
27794
29520
  name: mas-devops-suite-app-upgrade
27795
29521
  runAfter:
27796
- - app-manage-upgrade
27797
-
29522
+ - app-iot-upgrade
27798
29523
 
27799
- # 10. Verify health of the cluster after upgrade
29524
+ # 12. Verify health of the cluster after upgrade
27800
29525
  # -------------------------------------------------------------------------
27801
29526
  - name: post-upgrade-verify
27802
29527
  timeout: "0"
@@ -27819,12 +29544,12 @@ spec:
27819
29544
  values: ["True", "true"]
27820
29545
 
27821
29546
  runAfter:
27822
- # Phase 2 apps that don't have a phase 3 app following it
29547
+ # Phase 5 apps that don't have a phase 6 app following it
27823
29548
  - app-assist-upgrade
27824
29549
  - app-optimizer-upgrade
27825
29550
  - app-visualinspection-upgrade
27826
- # Phase 3 apps
27827
29551
  - app-predict-upgrade
29552
+ # Phase 6 apps
27828
29553
  - app-monitor-upgrade
27829
29554
 
27830
29555
  finally: