mas-cli 11.4.0__py3-none-any.whl → 11.5.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mas-cli might be problematic. Click here for more details.
- mas/cli/__init__.py +1 -1
- mas/cli/cli.py +5 -7
- mas/cli/displayMixins.py +18 -14
- mas/cli/gencfg.py +3 -2
- mas/cli/install/__init__.py +1 -1
- mas/cli/install/app.py +30 -30
- mas/cli/install/argBuilder.py +159 -158
- mas/cli/install/argParser.py +3 -1
- mas/cli/install/settings/__init__.py +5 -4
- mas/cli/install/settings/additionalConfigs.py +25 -24
- mas/cli/install/settings/db2Settings.py +2 -2
- mas/cli/install/settings/kafkaSettings.py +1 -0
- mas/cli/install/settings/manageSettings.py +38 -19
- mas/cli/install/settings/turbonomicSettings.py +1 -0
- mas/cli/install/summarizer.py +6 -6
- mas/cli/templates/ibm-mas-tekton.yaml +587 -150
- mas/cli/uninstall/__init__.py +1 -1
- mas/cli/uninstall/app.py +15 -14
- mas/cli/uninstall/argParser.py +1 -1
- mas/cli/update/__init__.py +1 -1
- mas/cli/update/app.py +39 -39
- mas/cli/update/argParser.py +1 -1
- mas/cli/upgrade/__init__.py +1 -1
- mas/cli/upgrade/app.py +8 -7
- mas/cli/upgrade/argParser.py +1 -1
- {mas_cli-11.4.0.data → mas_cli-11.5.0.data}/scripts/mas-cli +8 -6
- {mas_cli-11.4.0.dist-info → mas_cli-11.5.0.dist-info}/METADATA +1 -1
- {mas_cli-11.4.0.dist-info → mas_cli-11.5.0.dist-info}/RECORD +30 -30
- {mas_cli-11.4.0.dist-info → mas_cli-11.5.0.dist-info}/WHEEL +1 -1
- {mas_cli-11.4.0.dist-info → mas_cli-11.5.0.dist-info}/top_level.txt +0 -0
|
@@ -108,7 +108,7 @@ spec:
|
|
|
108
108
|
command:
|
|
109
109
|
- /opt/app-root/src/run-role.sh
|
|
110
110
|
- appconnect
|
|
111
|
-
image: quay.io/ibmmas/cli:11.
|
|
111
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
112
112
|
imagePullPolicy: $(params.image_pull_policy)
|
|
113
113
|
workingDir: /workspace/configs
|
|
114
114
|
|
|
@@ -226,7 +226,7 @@ spec:
|
|
|
226
226
|
command:
|
|
227
227
|
- /opt/app-root/src/run-role.sh
|
|
228
228
|
- arcgis
|
|
229
|
-
image: quay.io/ibmmas/cli:11.
|
|
229
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
230
230
|
imagePullPolicy: $(params.image_pull_policy)
|
|
231
231
|
# --------------------------------------------------------------------------------
|
|
232
232
|
# /home/runner/work/cli/cli/tekton/target/tasks/cert-manager.yaml
|
|
@@ -296,7 +296,7 @@ spec:
|
|
|
296
296
|
command:
|
|
297
297
|
- /opt/app-root/src/run-role.sh
|
|
298
298
|
- cert_manager
|
|
299
|
-
image: quay.io/ibmmas/cli:11.
|
|
299
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
300
300
|
imagePullPolicy: $(params.image_pull_policy)
|
|
301
301
|
workingDir: /workspace/configs
|
|
302
302
|
# --------------------------------------------------------------------------------
|
|
@@ -362,7 +362,7 @@ spec:
|
|
|
362
362
|
command:
|
|
363
363
|
- /opt/app-root/src/run-role.sh
|
|
364
364
|
- common_services
|
|
365
|
-
image: quay.io/ibmmas/cli:11.
|
|
365
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
366
366
|
imagePullPolicy: $(params.image_pull_policy)
|
|
367
367
|
workingDir: /workspace/configs
|
|
368
368
|
# --------------------------------------------------------------------------------
|
|
@@ -483,7 +483,7 @@ spec:
|
|
|
483
483
|
command:
|
|
484
484
|
- /opt/app-root/src/run-role.sh
|
|
485
485
|
- cos
|
|
486
|
-
image: quay.io/ibmmas/cli:11.
|
|
486
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
487
487
|
imagePullPolicy: $(params.image_pull_policy)
|
|
488
488
|
workingDir: /workspace/configs
|
|
489
489
|
|
|
@@ -603,7 +603,7 @@ spec:
|
|
|
603
603
|
command:
|
|
604
604
|
- /opt/app-root/src/run-role.sh
|
|
605
605
|
- cp4d_service
|
|
606
|
-
image: quay.io/ibmmas/cli:11.
|
|
606
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
607
607
|
imagePullPolicy: $(params.image_pull_policy)
|
|
608
608
|
workingDir: /workspace/configs
|
|
609
609
|
# --------------------------------------------------------------------------------
|
|
@@ -720,7 +720,7 @@ spec:
|
|
|
720
720
|
command:
|
|
721
721
|
- /opt/app-root/src/run-role.sh
|
|
722
722
|
- cp4d_service
|
|
723
|
-
image: quay.io/ibmmas/cli:11.
|
|
723
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
724
724
|
imagePullPolicy: $(params.image_pull_policy)
|
|
725
725
|
workingDir: /workspace/configs
|
|
726
726
|
|
|
@@ -826,7 +826,7 @@ spec:
|
|
|
826
826
|
command:
|
|
827
827
|
- /opt/app-root/src/run-role.sh
|
|
828
828
|
- cp4d
|
|
829
|
-
image: quay.io/ibmmas/cli:11.
|
|
829
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
830
830
|
imagePullPolicy: $(params.image_pull_policy)
|
|
831
831
|
# --------------------------------------------------------------------------------
|
|
832
832
|
# /home/runner/work/cli/cli/tekton/target/tasks/db2.yaml
|
|
@@ -1148,7 +1148,7 @@ spec:
|
|
|
1148
1148
|
command:
|
|
1149
1149
|
- /opt/app-root/src/run-role.sh
|
|
1150
1150
|
- db2
|
|
1151
|
-
image: quay.io/ibmmas/cli:11.
|
|
1151
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
1152
1152
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1153
1153
|
workingDir: /workspace/configs
|
|
1154
1154
|
|
|
@@ -1258,7 +1258,7 @@ spec:
|
|
|
1258
1258
|
command:
|
|
1259
1259
|
- /opt/app-root/src/run-role.sh
|
|
1260
1260
|
- eck
|
|
1261
|
-
image: quay.io/ibmmas/cli:11.
|
|
1261
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
1262
1262
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1263
1263
|
# --------------------------------------------------------------------------------
|
|
1264
1264
|
# /home/runner/work/cli/cli/tekton/target/tasks/gencfg-workspace.yaml
|
|
@@ -1347,7 +1347,7 @@ spec:
|
|
|
1347
1347
|
command:
|
|
1348
1348
|
- /opt/app-root/src/run-role.sh
|
|
1349
1349
|
- gencfg_workspace
|
|
1350
|
-
image: quay.io/ibmmas/cli:11.
|
|
1350
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
1351
1351
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1352
1352
|
workingDir: /workspace/configs
|
|
1353
1353
|
|
|
@@ -1451,7 +1451,7 @@ spec:
|
|
|
1451
1451
|
- -c
|
|
1452
1452
|
name: gitops-bootstrap
|
|
1453
1453
|
imagePullPolicy: IfNotPresent
|
|
1454
|
-
image: quay.io/ibmmas/cli:11.
|
|
1454
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
1455
1455
|
workspaces:
|
|
1456
1456
|
- name: configs
|
|
1457
1457
|
# --------------------------------------------------------------------------------
|
|
@@ -1533,7 +1533,7 @@ spec:
|
|
|
1533
1533
|
- -c
|
|
1534
1534
|
name: gitops-cis-compliance
|
|
1535
1535
|
imagePullPolicy: IfNotPresent
|
|
1536
|
-
image: quay.io/ibmmas/cli:11.
|
|
1536
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
1537
1537
|
workspaces:
|
|
1538
1538
|
- name: configs
|
|
1539
1539
|
# --------------------------------------------------------------------------------
|
|
@@ -1730,7 +1730,7 @@ spec:
|
|
|
1730
1730
|
- -c
|
|
1731
1731
|
name: gitops-cluster
|
|
1732
1732
|
imagePullPolicy: Always
|
|
1733
|
-
image: quay.io/ibmmas/cli:11.
|
|
1733
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
1734
1734
|
workspaces:
|
|
1735
1735
|
- name: configs
|
|
1736
1736
|
# --------------------------------------------------------------------------------
|
|
@@ -1825,7 +1825,7 @@ spec:
|
|
|
1825
1825
|
- -c
|
|
1826
1826
|
name: gitops-cos
|
|
1827
1827
|
imagePullPolicy: IfNotPresent
|
|
1828
|
-
image: quay.io/ibmmas/cli:11.
|
|
1828
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
1829
1829
|
workspaces:
|
|
1830
1830
|
- name: configs
|
|
1831
1831
|
# --------------------------------------------------------------------------------
|
|
@@ -1973,7 +1973,7 @@ spec:
|
|
|
1973
1973
|
- -c
|
|
1974
1974
|
name: gitops-cp4d-service
|
|
1975
1975
|
imagePullPolicy: IfNotPresent
|
|
1976
|
-
image: quay.io/ibmmas/cli:11.
|
|
1976
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
1977
1977
|
workspaces:
|
|
1978
1978
|
- name: configs
|
|
1979
1979
|
- name: shared-gitops-configs
|
|
@@ -2102,7 +2102,7 @@ spec:
|
|
|
2102
2102
|
- -c
|
|
2103
2103
|
name: gitops-cp4d
|
|
2104
2104
|
imagePullPolicy: IfNotPresent
|
|
2105
|
-
image: quay.io/ibmmas/cli:11.
|
|
2105
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
2106
2106
|
workspaces:
|
|
2107
2107
|
- name: configs
|
|
2108
2108
|
- name: shared-gitops-configs
|
|
@@ -2354,7 +2354,7 @@ spec:
|
|
|
2354
2354
|
- -c
|
|
2355
2355
|
name: gitops-db2u-database
|
|
2356
2356
|
imagePullPolicy: Always
|
|
2357
|
-
image: quay.io/ibmmas/cli:11.
|
|
2357
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
2358
2358
|
workspaces:
|
|
2359
2359
|
- name: configs
|
|
2360
2360
|
- name: shared-gitops-configs
|
|
@@ -2452,7 +2452,7 @@ spec:
|
|
|
2452
2452
|
- -c
|
|
2453
2453
|
name: gitops-db2u
|
|
2454
2454
|
imagePullPolicy: IfNotPresent
|
|
2455
|
-
image: quay.io/ibmmas/cli:11.
|
|
2455
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
2456
2456
|
workspaces:
|
|
2457
2457
|
- name: configs
|
|
2458
2458
|
# --------------------------------------------------------------------------------
|
|
@@ -2579,7 +2579,7 @@ spec:
|
|
|
2579
2579
|
- -c
|
|
2580
2580
|
name: gitops-delete-jdbc-config
|
|
2581
2581
|
imagePullPolicy: IfNotPresent
|
|
2582
|
-
image: quay.io/ibmmas/cli:11.
|
|
2582
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
2583
2583
|
workspaces:
|
|
2584
2584
|
- name: configs
|
|
2585
2585
|
# --------------------------------------------------------------------------------
|
|
@@ -2677,7 +2677,7 @@ spec:
|
|
|
2677
2677
|
- -c
|
|
2678
2678
|
name: gitops-delete-kafka-config
|
|
2679
2679
|
imagePullPolicy: Always
|
|
2680
|
-
image: quay.io/ibmmas/cli:11.
|
|
2680
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
2681
2681
|
workspaces:
|
|
2682
2682
|
- name: configs
|
|
2683
2683
|
|
|
@@ -2769,7 +2769,7 @@ spec:
|
|
|
2769
2769
|
- -c
|
|
2770
2770
|
name: gitops-deprovision-app-config
|
|
2771
2771
|
imagePullPolicy: IfNotPresent
|
|
2772
|
-
image: quay.io/ibmmas/cli:11.
|
|
2772
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
2773
2773
|
workspaces:
|
|
2774
2774
|
- name: configs
|
|
2775
2775
|
# --------------------------------------------------------------------------------
|
|
@@ -2854,7 +2854,7 @@ spec:
|
|
|
2854
2854
|
- -c
|
|
2855
2855
|
name: gitops-deprovision-app-install
|
|
2856
2856
|
imagePullPolicy: IfNotPresent
|
|
2857
|
-
image: quay.io/ibmmas/cli:11.
|
|
2857
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
2858
2858
|
workspaces:
|
|
2859
2859
|
- name: configs
|
|
2860
2860
|
# --------------------------------------------------------------------------------
|
|
@@ -2939,7 +2939,7 @@ spec:
|
|
|
2939
2939
|
- -c
|
|
2940
2940
|
name: gitops-deprovision-cluster
|
|
2941
2941
|
imagePullPolicy: IfNotPresent
|
|
2942
|
-
image: quay.io/ibmmas/cli:11.
|
|
2942
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
2943
2943
|
workspaces:
|
|
2944
2944
|
- name: configs
|
|
2945
2945
|
# --------------------------------------------------------------------------------
|
|
@@ -3050,7 +3050,7 @@ spec:
|
|
|
3050
3050
|
- -c
|
|
3051
3051
|
name: gitops-deprovision-cos
|
|
3052
3052
|
imagePullPolicy: IfNotPresent
|
|
3053
|
-
image: quay.io/ibmmas/cli:11.
|
|
3053
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
3054
3054
|
workspaces:
|
|
3055
3055
|
- name: configs
|
|
3056
3056
|
# --------------------------------------------------------------------------------
|
|
@@ -3138,7 +3138,7 @@ spec:
|
|
|
3138
3138
|
- -c
|
|
3139
3139
|
name: gitops-deprovision-db2u-database
|
|
3140
3140
|
imagePullPolicy: IfNotPresent
|
|
3141
|
-
image: quay.io/ibmmas/cli:11.
|
|
3141
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
3142
3142
|
workspaces:
|
|
3143
3143
|
- name: configs
|
|
3144
3144
|
|
|
@@ -3221,7 +3221,7 @@ spec:
|
|
|
3221
3221
|
- -c
|
|
3222
3222
|
name: gitops-deprovision-db2u
|
|
3223
3223
|
imagePullPolicy: IfNotPresent
|
|
3224
|
-
image: quay.io/ibmmas/cli:11.
|
|
3224
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
3225
3225
|
workspaces:
|
|
3226
3226
|
- name: configs
|
|
3227
3227
|
|
|
@@ -3297,7 +3297,7 @@ spec:
|
|
|
3297
3297
|
- -c
|
|
3298
3298
|
name: gitops-deprovision-efs
|
|
3299
3299
|
imagePullPolicy: IfNotPresent
|
|
3300
|
-
image: quay.io/ibmmas/cli:11.
|
|
3300
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
3301
3301
|
workspaces:
|
|
3302
3302
|
- name: configs
|
|
3303
3303
|
|
|
@@ -3367,10 +3367,11 @@ spec:
|
|
|
3367
3367
|
aws configure set aws_secret_access_key $SM_AWS_SECRET_ACCESS_KEY
|
|
3368
3368
|
aws configure set default.region $(params.avp_aws_secret_region)
|
|
3369
3369
|
|
|
3370
|
-
|
|
3370
|
+
# Note the - after cluster name. this is to distinguish between different similar named clusters
|
|
3371
|
+
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME- | yq '.[].Value')
|
|
3371
3372
|
if [ -z "$vpc_name" ]; then
|
|
3372
3373
|
# Needed if there is only one cluster in account
|
|
3373
|
-
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME | yq '.Value')
|
|
3374
|
+
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME- | yq '.Value')
|
|
3374
3375
|
fi
|
|
3375
3376
|
export VPC_ID=$(aws ec2 describe-vpcs --filters '[{"Name": "tag:Name", "Values": ["'$vpc_name'"]}]' --output yaml | yq '.Vpcs[].VpcId' )
|
|
3376
3377
|
|
|
@@ -3406,7 +3407,7 @@ spec:
|
|
|
3406
3407
|
- -c
|
|
3407
3408
|
name: gitops-deprovision-kafka
|
|
3408
3409
|
imagePullPolicy: IfNotPresent
|
|
3409
|
-
image: quay.io/ibmmas/cli:11.
|
|
3410
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
3410
3411
|
workspaces:
|
|
3411
3412
|
- name: configs
|
|
3412
3413
|
# --------------------------------------------------------------------------------
|
|
@@ -3467,10 +3468,11 @@ spec:
|
|
|
3467
3468
|
aws configure set aws_secret_access_key $SM_AWS_SECRET_ACCESS_KEY
|
|
3468
3469
|
aws configure set default.region $(params.avp_aws_secret_region)
|
|
3469
3470
|
|
|
3470
|
-
|
|
3471
|
+
# Note the - after cluster name. this is to distinguish between different similar named clusters
|
|
3472
|
+
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME- | yq '.[].Value')
|
|
3471
3473
|
if [ -z "$vpc_name" ]; then
|
|
3472
3474
|
# Needed if there is only one cluster in account
|
|
3473
|
-
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME | yq '.Value')
|
|
3475
|
+
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME- | yq '.Value')
|
|
3474
3476
|
fi
|
|
3475
3477
|
export VPC_ID=$(aws ec2 describe-vpcs --filters '[{"Name": "tag:Name", "Values": ["'$vpc_name'"]}]' --output yaml | yq '.Vpcs[].VpcId' )
|
|
3476
3478
|
|
|
@@ -3508,7 +3510,7 @@ spec:
|
|
|
3508
3510
|
- -c
|
|
3509
3511
|
name: gitops-deprovision-mongo
|
|
3510
3512
|
imagePullPolicy: IfNotPresent
|
|
3511
|
-
image: quay.io/ibmmas/cli:11.
|
|
3513
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
3512
3514
|
workspaces:
|
|
3513
3515
|
- name: configs
|
|
3514
3516
|
|
|
@@ -3565,7 +3567,7 @@ spec:
|
|
|
3565
3567
|
- -c
|
|
3566
3568
|
name: gitops-deprovision-rosa
|
|
3567
3569
|
imagePullPolicy: IfNotPresent
|
|
3568
|
-
image: quay.io/ibmmas/cli:11.
|
|
3570
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
3569
3571
|
workspaces:
|
|
3570
3572
|
- name: configs
|
|
3571
3573
|
# --------------------------------------------------------------------------------
|
|
@@ -3770,7 +3772,7 @@ spec:
|
|
|
3770
3772
|
- -c
|
|
3771
3773
|
name: gitops-deprovision-suite-config
|
|
3772
3774
|
imagePullPolicy: IfNotPresent
|
|
3773
|
-
image: quay.io/ibmmas/cli:11.
|
|
3775
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
3774
3776
|
workspaces:
|
|
3775
3777
|
- name: configs
|
|
3776
3778
|
|
|
@@ -3868,7 +3870,7 @@ spec:
|
|
|
3868
3870
|
- -c
|
|
3869
3871
|
name: gitops-deprovision-suite-idp-config
|
|
3870
3872
|
imagePullPolicy: IfNotPresent
|
|
3871
|
-
image: quay.io/ibmmas/cli:11.
|
|
3873
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
3872
3874
|
workspaces:
|
|
3873
3875
|
- name: configs
|
|
3874
3876
|
# --------------------------------------------------------------------------------
|
|
@@ -3960,7 +3962,7 @@ spec:
|
|
|
3960
3962
|
- -c
|
|
3961
3963
|
name: gitops-deprovision-suite-objectstorage-config
|
|
3962
3964
|
imagePullPolicy: IfNotPresent
|
|
3963
|
-
image: quay.io/ibmmas/cli:11.
|
|
3965
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
3964
3966
|
workspaces:
|
|
3965
3967
|
- name: configs
|
|
3966
3968
|
# --------------------------------------------------------------------------------
|
|
@@ -4052,7 +4054,7 @@ spec:
|
|
|
4052
4054
|
- -c
|
|
4053
4055
|
name: gitops-deprovision-suite-smtp-config
|
|
4054
4056
|
imagePullPolicy: IfNotPresent
|
|
4055
|
-
image: quay.io/ibmmas/cli:11.
|
|
4057
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
4056
4058
|
workspaces:
|
|
4057
4059
|
- name: configs
|
|
4058
4060
|
# --------------------------------------------------------------------------------
|
|
@@ -4145,7 +4147,7 @@ spec:
|
|
|
4145
4147
|
- -c
|
|
4146
4148
|
name: gitops-deprovision-suite-watson-studio-config
|
|
4147
4149
|
imagePullPolicy: IfNotPresent
|
|
4148
|
-
image: quay.io/ibmmas/cli:11.
|
|
4150
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
4149
4151
|
workspaces:
|
|
4150
4152
|
- name: configs
|
|
4151
4153
|
# --------------------------------------------------------------------------------
|
|
@@ -4236,7 +4238,7 @@ spec:
|
|
|
4236
4238
|
- -c
|
|
4237
4239
|
name: gitops-deprovision-suite-workspace
|
|
4238
4240
|
imagePullPolicy: Always
|
|
4239
|
-
image: quay.io/ibmmas/cli:11.
|
|
4241
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
4240
4242
|
workspaces:
|
|
4241
4243
|
- name: configs
|
|
4242
4244
|
# --------------------------------------------------------------------------------
|
|
@@ -4329,7 +4331,7 @@ spec:
|
|
|
4329
4331
|
- -c
|
|
4330
4332
|
name: gitops-deprovision-suite
|
|
4331
4333
|
imagePullPolicy: IfNotPresent
|
|
4332
|
-
image: quay.io/ibmmas/cli:11.
|
|
4334
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
4333
4335
|
workspaces:
|
|
4334
4336
|
- name: configs
|
|
4335
4337
|
|
|
@@ -4442,7 +4444,7 @@ spec:
|
|
|
4442
4444
|
- -c
|
|
4443
4445
|
name: gitops-dro
|
|
4444
4446
|
imagePullPolicy: IfNotPresent
|
|
4445
|
-
image: quay.io/ibmmas/cli:11.
|
|
4447
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
4446
4448
|
workspaces:
|
|
4447
4449
|
- name: configs
|
|
4448
4450
|
# --------------------------------------------------------------------------------
|
|
@@ -4524,7 +4526,7 @@ spec:
|
|
|
4524
4526
|
- -c
|
|
4525
4527
|
name: gitops-efs
|
|
4526
4528
|
imagePullPolicy: IfNotPresent
|
|
4527
|
-
image: quay.io/ibmmas/cli:11.
|
|
4529
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
4528
4530
|
workspaces:
|
|
4529
4531
|
- name: configs
|
|
4530
4532
|
|
|
@@ -4659,7 +4661,7 @@ spec:
|
|
|
4659
4661
|
- -c
|
|
4660
4662
|
name: gitops-jdbc-config
|
|
4661
4663
|
imagePullPolicy: Always
|
|
4662
|
-
image: quay.io/ibmmas/cli:11.
|
|
4664
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
4663
4665
|
workspaces:
|
|
4664
4666
|
- name: configs
|
|
4665
4667
|
- name: shared-gitops-configs
|
|
@@ -4755,7 +4757,7 @@ spec:
|
|
|
4755
4757
|
- -c
|
|
4756
4758
|
name: gitops-kafka-config
|
|
4757
4759
|
imagePullPolicy: Always
|
|
4758
|
-
image: quay.io/ibmmas/cli:11.
|
|
4760
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
4759
4761
|
workspaces:
|
|
4760
4762
|
- name: configs
|
|
4761
4763
|
|
|
@@ -4837,10 +4839,11 @@ spec:
|
|
|
4837
4839
|
aws configure set aws_secret_access_key $(params.avp_aws_secret_key)
|
|
4838
4840
|
aws configure set default.region $(params.avp_aws_secret_region)
|
|
4839
4841
|
|
|
4840
|
-
|
|
4842
|
+
# Note the - after cluster name. this is to distinguish between different similar named clusters
|
|
4843
|
+
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME- | yq '.[].Value')
|
|
4841
4844
|
if [ -z "$vpc_name" ]; then
|
|
4842
4845
|
# Needed if there is only one cluster in account
|
|
4843
|
-
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME | yq '.Value')
|
|
4846
|
+
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME- | yq '.Value')
|
|
4844
4847
|
fi
|
|
4845
4848
|
export VPC_ID=$(aws ec2 describe-vpcs --filters '[{"Name": "tag:Name", "Values": ["'$vpc_name'"]}]' --output yaml | yq '.Vpcs[].VpcId' )
|
|
4846
4849
|
|
|
@@ -4876,7 +4879,7 @@ spec:
|
|
|
4876
4879
|
- -c
|
|
4877
4880
|
name: gitops-kafka
|
|
4878
4881
|
imagePullPolicy: IfNotPresent
|
|
4879
|
-
image: quay.io/ibmmas/cli:11.
|
|
4882
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
4880
4883
|
workspaces:
|
|
4881
4884
|
- name: configs
|
|
4882
4885
|
# --------------------------------------------------------------------------------
|
|
@@ -4927,7 +4930,7 @@ spec:
|
|
|
4927
4930
|
- -c
|
|
4928
4931
|
name: gitops-license
|
|
4929
4932
|
imagePullPolicy: Always
|
|
4930
|
-
image: quay.io/ibmmas/cli:11.
|
|
4933
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
4931
4934
|
workspaces:
|
|
4932
4935
|
- name: shared-entitlement
|
|
4933
4936
|
|
|
@@ -4971,6 +4974,8 @@ spec:
|
|
|
4971
4974
|
type: string
|
|
4972
4975
|
- name: fvt_version_ctf
|
|
4973
4976
|
type: string
|
|
4977
|
+
- name: fvt_version_predict
|
|
4978
|
+
type: string
|
|
4974
4979
|
- name: fvt_version_assist
|
|
4975
4980
|
type: string
|
|
4976
4981
|
- name: fvt_version_iot
|
|
@@ -5148,6 +5153,8 @@ spec:
|
|
|
5148
5153
|
value: $(params.ivt_version_core)
|
|
5149
5154
|
- name: FVT_VERSION_CTF
|
|
5150
5155
|
value: $(params.fvt_version_ctf)
|
|
5156
|
+
- name: FVT_VERSION_PREDICT
|
|
5157
|
+
value: $(params.fvt_version_predict)
|
|
5151
5158
|
- name: FVT_VERSION_ASSIST
|
|
5152
5159
|
value: $(params.fvt_version_assist)
|
|
5153
5160
|
- name: FVT_VERSION_IOT
|
|
@@ -5426,7 +5433,7 @@ spec:
|
|
|
5426
5433
|
- -c
|
|
5427
5434
|
name: gitops-mas-fvt-preparer
|
|
5428
5435
|
imagePullPolicy: Always
|
|
5429
|
-
image: quay.io/ibmmas/cli:11.
|
|
5436
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
5430
5437
|
workspaces:
|
|
5431
5438
|
- name: configs
|
|
5432
5439
|
- name: shared-additional-configs
|
|
@@ -5466,6 +5473,8 @@ spec:
|
|
|
5466
5473
|
type: string
|
|
5467
5474
|
- name: mas_operationalmode
|
|
5468
5475
|
type: string
|
|
5476
|
+
- name: mas_instance_id
|
|
5477
|
+
type: string
|
|
5469
5478
|
- name: mas_app_channel_assist
|
|
5470
5479
|
type: string
|
|
5471
5480
|
- name: mas_app_install_plan_assist
|
|
@@ -5567,6 +5576,8 @@ spec:
|
|
|
5567
5576
|
value: $(params.mas_channel)
|
|
5568
5577
|
- name: MAS_OPERATIONALMODE
|
|
5569
5578
|
value: $(params.mas_operationalmode)
|
|
5579
|
+
- name: MAS_INSTANCE_ID
|
|
5580
|
+
value: $(params.mas_instance_id)
|
|
5570
5581
|
- name: MAS_APP_CHANNEL_ASSIST
|
|
5571
5582
|
value: $(params.mas_app_channel_assist)
|
|
5572
5583
|
- name: MAS_APP_INSTALL_PLAN_ASSIST
|
|
@@ -5682,17 +5693,16 @@ spec:
|
|
|
5682
5693
|
|
|
5683
5694
|
git clone https://git:$GITHUB_PAT@$GITHUB_HOST/$SOURCE_GITHUB_ORG/devops-configs.git -b master || exit
|
|
5684
5695
|
|
|
5685
|
-
|
|
5686
|
-
mkdir -p $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/fvtsaas/manual-certs
|
|
5696
|
+
mkdir -p $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/manual-certs
|
|
5687
5697
|
|
|
5688
|
-
# Copy manual certs of
|
|
5689
|
-
cp -r $TARGET_LOCAL_DIR/manual-certs/devops-configs/certs
|
|
5698
|
+
# Copy manual certs of mas_instance
|
|
5699
|
+
cp -r $TARGET_LOCAL_DIR/manual-certs/devops-configs/certs/$MAS_INSTANCE_ID/* $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/manual-certs
|
|
5690
5700
|
|
|
5691
5701
|
# Invoke create-aggregate-manual-certs.sh to generate combined_manual_certs.yaml
|
|
5692
5702
|
|
|
5693
5703
|
chmod +x $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/create-aggregate-manual-certs.sh
|
|
5694
5704
|
|
|
5695
|
-
$TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/create-aggregate-manual-certs.sh $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5705
|
+
$TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/create-aggregate-manual-certs.sh $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/manual-certs
|
|
5696
5706
|
|
|
5697
5707
|
# Remove manual-certs folder
|
|
5698
5708
|
rm -rf $TARGET_LOCAL_DIR/manual-certs
|
|
@@ -5701,40 +5711,40 @@ spec:
|
|
|
5701
5711
|
cd $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO
|
|
5702
5712
|
|
|
5703
5713
|
if [[ "${MANUAL_CERTS_CONTROL_FLAG}" != "true" ]]; then
|
|
5704
|
-
yq -i 'del(.dns.manual_certs)' $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5714
|
+
yq -i 'del(.dns.manual_certs)' $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-instance-params.yaml
|
|
5705
5715
|
echo "gitops-mas-initiator: removed .dns.manual_certs node"
|
|
5706
5716
|
fi
|
|
5707
5717
|
|
|
5708
|
-
# Update the domain name in the mas-instance-params.yaml.
|
|
5718
|
+
# Update the domain name in the mas-instance-params.yaml.
|
|
5709
5719
|
export ROSA_CONFIG=/workspace/configs/tmp-rosa/rosa-$(params.cluster_name)-details.yaml
|
|
5710
5720
|
export OCP_SERVER=$(cat $ROSA_CONFIG | yq '.data.api_url')
|
|
5711
5721
|
export DOMAIN=$(echo -n $OCP_SERVER | sed -n -e 's/^.*api.//p' | cut -d: -f1)
|
|
5712
|
-
export MASDOMAIN
|
|
5722
|
+
export MASDOMAIN=$MAS_INSTANCE_ID.apps.$DOMAIN
|
|
5713
5723
|
export APPSDOMAIN=apps.$DOMAIN
|
|
5714
5724
|
|
|
5715
|
-
yq -i '.mas_instance.domain = env(MASDOMAIN)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5725
|
+
yq -i '.mas_instance.domain = env(MASDOMAIN)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-instance-params.yaml
|
|
5716
5726
|
|
|
5717
|
-
# Update the ocp server url & ingress domain url in the cluster-params.yaml.
|
|
5727
|
+
# Update the ocp server url & ingress domain url in the cluster-params.yaml.
|
|
5718
5728
|
yq -i '.cluster.url = env(OCP_SERVER)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/cluster-params.yaml
|
|
5719
5729
|
yq -i '.cluster.domain = env(APPSDOMAIN)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/cluster-params.yaml
|
|
5720
5730
|
|
|
5721
|
-
# Update the channel in the mas-instance-params.yaml.
|
|
5722
|
-
yq -i '.mas_instance.channel = env(MAS_CHANNEL)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5731
|
+
# Update the channel in the mas-instance-params.yaml.
|
|
5732
|
+
yq -i '.mas_instance.channel = env(MAS_CHANNEL)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-instance-params.yaml
|
|
5723
5733
|
|
|
5724
|
-
# Update the operationalmode in the mas-instance-params.yaml.
|
|
5725
|
-
yq -i '.mas_instance.annotations."mas.ibm.com/operationalMode" = env(MAS_OPERATIONALMODE)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5734
|
+
# Update the operationalmode in the mas-instance-params.yaml.
|
|
5735
|
+
yq -i '.mas_instance.annotations."mas.ibm.com/operationalMode" = env(MAS_OPERATIONALMODE)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-instance-params.yaml
|
|
5726
5736
|
|
|
5727
5737
|
# Remove dns node when DNS_PROVIDER_CONTROL_IDEN is not set
|
|
5728
5738
|
if [ "${DNS_PROVIDER_CONTROL_IDEN}" == "" ]; then
|
|
5729
|
-
yq -i 'del(.dns)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5739
|
+
yq -i 'del(.dns)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-instance-params.yaml
|
|
5730
5740
|
yq -i 'del(.cluster.dns)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/cluster-params.yaml
|
|
5731
|
-
echo "gitops-mas-initiator: removed .dns / .cluster.dns node from gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5741
|
+
echo "gitops-mas-initiator: removed .dns / .cluster.dns node from gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-instance-params.yaml & gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/cluster-params.yaml"
|
|
5732
5742
|
fi
|
|
5733
5743
|
|
|
5734
5744
|
# Deploy fvtsaas with CIS as DNS provider and Manual_certs=True on Mon, Tue, Wed, Thu, Fri
|
|
5735
5745
|
# Deploy fvtsaas with CIS as DNS provider and Manual_certs=False on Sun
|
|
5736
5746
|
|
|
5737
|
-
yq -i '.mas_instance.manual_cert_mgmt = env(MANUAL_CERTS_CONTROL_FLAG)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5747
|
+
yq -i '.mas_instance.manual_cert_mgmt = env(MANUAL_CERTS_CONTROL_FLAG)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-instance-params.yaml
|
|
5738
5748
|
echo "gitops-mas-initiator: .mas_instance.manual_cert_mgmt set to $MANUAL_CERTS_CONTROL_FLAG"
|
|
5739
5749
|
|
|
5740
5750
|
if [[ "${DNS_PROVIDER_CONTROL_IDEN}" == "cis" ]]; then
|
|
@@ -5743,13 +5753,13 @@ spec:
|
|
|
5743
5753
|
fi
|
|
5744
5754
|
|
|
5745
5755
|
#customizationList customizationArchive credentials
|
|
5746
|
-
if [ -f "gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5756
|
+
if [ -f "gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/appws_spec_manage.yaml" ]; then
|
|
5747
5757
|
|
|
5748
|
-
MAS_APPWS_SPEC_YAML=gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5758
|
+
MAS_APPWS_SPEC_YAML=gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/appws_spec_manage.yaml
|
|
5749
5759
|
secret_names=$(yq eval '.mas_appws_spec.settings.customizationList | to_entries | .[].value.customizationArchiveCredentials.secretName' ${MAS_APPWS_SPEC_YAML})
|
|
5750
5760
|
for customization_archive_secret_name in ${secret_names[@]}; do
|
|
5751
5761
|
|
|
5752
|
-
export CUSTOMIZATION_ARCHIVE_SECRET=${ACCOUNT}${SECRETS_KEY_SEPERATOR}${CLUSTER_NAME}${SECRETS_KEY_SEPERATOR}
|
|
5762
|
+
export CUSTOMIZATION_ARCHIVE_SECRET=${ACCOUNT}${SECRETS_KEY_SEPERATOR}${CLUSTER_NAME}${SECRETS_KEY_SEPERATOR}$MAS_INSTANCE_ID${SECRETS_KEY_SEPERATOR}
|
|
5753
5763
|
export CUSTOMIZATION_ARCHIVE_SECRET_NAME=${CUSTOMIZATION_ARCHIVE_SECRET}${customization_archive_secret_name}
|
|
5754
5764
|
echo "gitops-mas-initiator: creating AWS SM with name :: ${CUSTOMIZATION_ARCHIVE_SECRET_NAME}"
|
|
5755
5765
|
|
|
@@ -5776,40 +5786,40 @@ spec:
|
|
|
5776
5786
|
done
|
|
5777
5787
|
|
|
5778
5788
|
fi
|
|
5779
|
-
# Update the app channels in the mas-apps-params.yaml.
|
|
5789
|
+
# Update the app channels in the mas-apps-params.yaml.
|
|
5780
5790
|
if [ -n $MAS_APP_CHANNEL_ASSIST ]; then
|
|
5781
|
-
yq -i '(. | select(has("assist")) | .assist.app_channel) = env(MAS_APP_CHANNEL_ASSIST)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5791
|
+
yq -i '(. | select(has("assist")) | .assist.app_channel) = env(MAS_APP_CHANNEL_ASSIST)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-apps-params.yaml
|
|
5782
5792
|
# Assist not supported in v8 due to no CP4D WD support
|
|
5783
5793
|
if [[ "$MAS_APP_CHANNEL_ASSIST" =~ ^8\. ]]; then
|
|
5784
|
-
yq -i 'del(.assist)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5794
|
+
yq -i 'del(.assist)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-apps-params.yaml
|
|
5785
5795
|
echo "gitops-mas-initiator: removed .assist node"
|
|
5786
|
-
yq -i '.launchfvt.assist = false' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5796
|
+
yq -i '.launchfvt.assist = false' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-fvt-params.yaml
|
|
5787
5797
|
echo "gitops-mas-initiator: set .launchfvt.assist to false"
|
|
5788
5798
|
fi
|
|
5789
5799
|
fi
|
|
5790
5800
|
if [ -n $MAS_APP_CHANNEL_IOT ]; then
|
|
5791
|
-
yq -i '(. | select(has("iot")) | .iot.app_channel) = env(MAS_APP_CHANNEL_IOT)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5801
|
+
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
|
|
5792
5802
|
fi
|
|
5793
5803
|
if [ -n $MAS_APP_CHANNEL_MANAGE ]; then
|
|
5794
|
-
yq -i '(. | select(has("manage")) | .manage.app_channel) = env(MAS_APP_CHANNEL_MANAGE)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5804
|
+
yq -i '(. | select(has("manage")) | .manage.app_channel) = env(MAS_APP_CHANNEL_MANAGE)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-apps-params.yaml
|
|
5795
5805
|
fi
|
|
5796
5806
|
if [ -n $MAS_APP_CHANNEL_MONITOR ]; then
|
|
5797
|
-
yq -i '(. | select(has("monitor")) | .monitor.app_channel) = env(MAS_APP_CHANNEL_MONITOR)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5807
|
+
yq -i '(. | select(has("monitor")) | .monitor.app_channel) = env(MAS_APP_CHANNEL_MONITOR)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-apps-params.yaml
|
|
5798
5808
|
fi
|
|
5799
5809
|
if [ -n $MAS_APP_CHANNEL_OPTIMIZER ]; then
|
|
5800
|
-
yq -i '(. | select(has("optimizer")) | .optimizer.app_channel) = env(MAS_APP_CHANNEL_OPTIMIZER)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5810
|
+
yq -i '(. | select(has("optimizer")) | .optimizer.app_channel) = env(MAS_APP_CHANNEL_OPTIMIZER)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-apps-params.yaml
|
|
5801
5811
|
fi
|
|
5802
5812
|
if [ -n $MAS_APP_CHANNEL_PREDICT ]; then
|
|
5803
|
-
yq -i '(. | select(has("predict")) | .predict.app_channel) = env(MAS_APP_CHANNEL_PREDICT)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5813
|
+
yq -i '(. | select(has("predict")) | .predict.app_channel) = env(MAS_APP_CHANNEL_PREDICT)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-apps-params.yaml
|
|
5804
5814
|
fi
|
|
5805
5815
|
if [ -n $MAS_APP_CHANNEL_VISUALINSPECTION ]; then
|
|
5806
|
-
yq -i '(. | select(has("visualinspection")) | .visualinspection.app_channel) = env(MAS_APP_CHANNEL_VISUALINSPECTION)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5816
|
+
yq -i '(. | select(has("visualinspection")) | .visualinspection.app_channel) = env(MAS_APP_CHANNEL_VISUALINSPECTION)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-apps-params.yaml
|
|
5807
5817
|
fi
|
|
5808
5818
|
|
|
5809
5819
|
# Update the cli_version and ansible_fvt ansible version if mas_fvt_params exists
|
|
5810
|
-
if [ -f gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5811
|
-
yq -i '.fvt.cli_version = env(CLI_VERSION)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5812
|
-
yq -i '.fvt.ansible_version = env(FVT_ANSIBLE_VERSION)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/
|
|
5820
|
+
if [ -f gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-fvt-params.yaml ]; then
|
|
5821
|
+
yq -i '.fvt.cli_version = env(CLI_VERSION)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-fvt-params.yaml
|
|
5822
|
+
yq -i '.fvt.ansible_version = env(FVT_ANSIBLE_VERSION)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-fvt-params.yaml
|
|
5813
5823
|
fi
|
|
5814
5824
|
|
|
5815
5825
|
echo "git: Adding all files in $TARGET_LOCAL_DIR working directory"
|
|
@@ -5865,7 +5875,7 @@ spec:
|
|
|
5865
5875
|
- -c
|
|
5866
5876
|
name: gitops-mas-initiator
|
|
5867
5877
|
imagePullPolicy: IfNotPresent
|
|
5868
|
-
image: quay.io/ibmmas/cli:11.
|
|
5878
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
5869
5879
|
workspaces:
|
|
5870
5880
|
- name: configs
|
|
5871
5881
|
# --------------------------------------------------------------------------------
|
|
@@ -5931,10 +5941,11 @@ spec:
|
|
|
5931
5941
|
aws configure set aws_secret_access_key $(params.avp_aws_secret_key)
|
|
5932
5942
|
aws configure set default.region $(params.avp_aws_secret_region)
|
|
5933
5943
|
|
|
5934
|
-
|
|
5944
|
+
# Note the - after cluster name. this is to distinguish between different similar named clusters
|
|
5945
|
+
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME- | yq '.[].Value')
|
|
5935
5946
|
if [ -z "$vpc_name" ]; then
|
|
5936
5947
|
# Needed if there is only one cluster in account
|
|
5937
|
-
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME | yq '.Value')
|
|
5948
|
+
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME- | yq '.Value')
|
|
5938
5949
|
fi
|
|
5939
5950
|
export VPC_ID=$(aws ec2 describe-vpcs --filters '[{"Name": "tag:Name", "Values": ["'$vpc_name'"]}]' --output yaml | yq '.Vpcs[].VpcId' )
|
|
5940
5951
|
|
|
@@ -5972,7 +5983,7 @@ spec:
|
|
|
5972
5983
|
- -c
|
|
5973
5984
|
name: gitops-mongo
|
|
5974
5985
|
imagePullPolicy: IfNotPresent
|
|
5975
|
-
image: quay.io/ibmmas/cli:11.
|
|
5986
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
5976
5987
|
workspaces:
|
|
5977
5988
|
- name: configs
|
|
5978
5989
|
|
|
@@ -6094,7 +6105,7 @@ spec:
|
|
|
6094
6105
|
- -c
|
|
6095
6106
|
name: gitops-nvidia-gpu
|
|
6096
6107
|
imagePullPolicy: IfNotPresent
|
|
6097
|
-
image: quay.io/ibmmas/cli:11.
|
|
6108
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
6098
6109
|
workspaces:
|
|
6099
6110
|
- name: configs
|
|
6100
6111
|
# --------------------------------------------------------------------------------
|
|
@@ -6167,10 +6178,11 @@ spec:
|
|
|
6167
6178
|
aws configure set aws_secret_access_key $SM_AWS_SECRET_ACCESS_KEY
|
|
6168
6179
|
aws configure set default.region $(params.avp_aws_secret_region)
|
|
6169
6180
|
|
|
6170
|
-
|
|
6181
|
+
# Note the - after cluster name. this is to distinguish between different similar named clusters
|
|
6182
|
+
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME- | yq '.[].Value')
|
|
6171
6183
|
if [ -z "$vpc_name" ]; then
|
|
6172
6184
|
# Needed if there is only one cluster in account
|
|
6173
|
-
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME | yq '.Value')
|
|
6185
|
+
vpc_name=$(aws ec2 describe-vpcs --output yaml | grep $CLUSTER_NAME- | yq '.Value')
|
|
6174
6186
|
fi
|
|
6175
6187
|
export VPC_ID=$(aws ec2 describe-vpcs --filters '[{"Name": "tag:Name", "Values": ["'$vpc_name'"]}]' --output yaml | yq '.Vpcs[].VpcId' )
|
|
6176
6188
|
|
|
@@ -6211,7 +6223,7 @@ spec:
|
|
|
6211
6223
|
- -c
|
|
6212
6224
|
name: gitops-process-mongo-user
|
|
6213
6225
|
imagePullPolicy: IfNotPresent
|
|
6214
|
-
image: quay.io/ibmmas/cli:11.
|
|
6226
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
6215
6227
|
workspaces:
|
|
6216
6228
|
- name: configs
|
|
6217
6229
|
# --------------------------------------------------------------------------------
|
|
@@ -6267,7 +6279,7 @@ spec:
|
|
|
6267
6279
|
- -c
|
|
6268
6280
|
name: gitops-rosa
|
|
6269
6281
|
imagePullPolicy: IfNotPresent
|
|
6270
|
-
image: quay.io/ibmmas/cli:11.
|
|
6282
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
6271
6283
|
workspaces:
|
|
6272
6284
|
- name: configs
|
|
6273
6285
|
# --------------------------------------------------------------------------------
|
|
@@ -6449,7 +6461,7 @@ spec:
|
|
|
6449
6461
|
- -c
|
|
6450
6462
|
name: gitops-suite-app-config
|
|
6451
6463
|
imagePullPolicy: IfNotPresent
|
|
6452
|
-
image: quay.io/ibmmas/cli:11.
|
|
6464
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
6453
6465
|
workspaces:
|
|
6454
6466
|
- name: configs
|
|
6455
6467
|
- name: shared-gitops-configs
|
|
@@ -6607,7 +6619,7 @@ spec:
|
|
|
6607
6619
|
- -c
|
|
6608
6620
|
name: gitops-suite-app-install
|
|
6609
6621
|
imagePullPolicy: Always
|
|
6610
|
-
image: quay.io/ibmmas/cli:11.
|
|
6622
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
6611
6623
|
workspaces:
|
|
6612
6624
|
- name: configs
|
|
6613
6625
|
- name: shared-gitops-configs
|
|
@@ -6713,7 +6725,7 @@ spec:
|
|
|
6713
6725
|
- -c
|
|
6714
6726
|
name: gitops-suite-certs
|
|
6715
6727
|
imagePullPolicy: IfNotPresent
|
|
6716
|
-
image: quay.io/ibmmas/cli:11.
|
|
6728
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
6717
6729
|
workspaces:
|
|
6718
6730
|
- name: configs
|
|
6719
6731
|
- name: certificates
|
|
@@ -6873,7 +6885,7 @@ spec:
|
|
|
6873
6885
|
- -c
|
|
6874
6886
|
name: gitops-suite-config
|
|
6875
6887
|
imagePullPolicy: IfNotPresent
|
|
6876
|
-
image: quay.io/ibmmas/cli:11.
|
|
6888
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
6877
6889
|
workspaces:
|
|
6878
6890
|
- name: configs
|
|
6879
6891
|
- name: shared-additional-configs
|
|
@@ -6973,7 +6985,7 @@ spec:
|
|
|
6973
6985
|
- -c
|
|
6974
6986
|
name: gitops-suite-dns
|
|
6975
6987
|
imagePullPolicy: IfNotPresent
|
|
6976
|
-
image: quay.io/ibmmas/cli:11.
|
|
6988
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
6977
6989
|
workspaces:
|
|
6978
6990
|
- name: configs
|
|
6979
6991
|
|
|
@@ -7097,7 +7109,7 @@ spec:
|
|
|
7097
7109
|
- -c
|
|
7098
7110
|
name: gitops-suite-idp-config
|
|
7099
7111
|
imagePullPolicy: IfNotPresent
|
|
7100
|
-
image: quay.io/ibmmas/cli:11.
|
|
7112
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
7101
7113
|
workspaces:
|
|
7102
7114
|
- name: configs
|
|
7103
7115
|
- name: shared-additional-configs
|
|
@@ -7198,7 +7210,7 @@ spec:
|
|
|
7198
7210
|
- -c
|
|
7199
7211
|
name: gitops-suite-objectstorage-config
|
|
7200
7212
|
imagePullPolicy: IfNotPresent
|
|
7201
|
-
image: quay.io/ibmmas/cli:11.
|
|
7213
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
7202
7214
|
workspaces:
|
|
7203
7215
|
- name: configs
|
|
7204
7216
|
- name: shared-gitops-configs
|
|
@@ -7325,15 +7337,7 @@ spec:
|
|
|
7325
7337
|
--config-action upsert \
|
|
7326
7338
|
--mas-config-scope system \
|
|
7327
7339
|
--mas-config-type smtp \
|
|
7328
|
-
--dir /tmp/init-suite-smtp-config
|
|
7329
|
-
--smtp-host "$SMTP_HOST" \
|
|
7330
|
-
--smtp-port "$SMTP_PORT" \
|
|
7331
|
-
--smtp-security "$SMTP_SECURITY" \
|
|
7332
|
-
--smtp-authentication "$SMTP_AUTHENTICATION" \
|
|
7333
|
-
--smtp-default-sender-email "$SMTP_DEFAULT_SENDER_EMAIL" \
|
|
7334
|
-
--smtp-default-sender-name "$SMTP_DEFAULT_SENDER_NAME" \
|
|
7335
|
-
--smtp-default-recipient-email "$SMTP_DEFAULT_RECIPIENT_EMAIL" \
|
|
7336
|
-
--smtp-default-should-email-passwords "$SMTP_DEFAULT_SHOULD_EMAIL_PASSWORDS"
|
|
7340
|
+
--dir /tmp/init-suite-smtp-config
|
|
7337
7341
|
|
|
7338
7342
|
exit $?
|
|
7339
7343
|
|
|
@@ -7342,7 +7346,7 @@ spec:
|
|
|
7342
7346
|
- -c
|
|
7343
7347
|
name: gitops-suite-smtp-config
|
|
7344
7348
|
imagePullPolicy: IfNotPresent
|
|
7345
|
-
image: quay.io/ibmmas/cli:11.
|
|
7349
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
7346
7350
|
workspaces:
|
|
7347
7351
|
- name: configs
|
|
7348
7352
|
|
|
@@ -7451,7 +7455,7 @@ spec:
|
|
|
7451
7455
|
- -c
|
|
7452
7456
|
name: gitops-suite-watson-studio-config
|
|
7453
7457
|
imagePullPolicy: IfNotPresent
|
|
7454
|
-
image: quay.io/ibmmas/cli:11.
|
|
7458
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
7455
7459
|
workspaces:
|
|
7456
7460
|
- name: configs
|
|
7457
7461
|
- name: shared-gitops-configs
|
|
@@ -7548,7 +7552,7 @@ spec:
|
|
|
7548
7552
|
- -c
|
|
7549
7553
|
name: gitops-suite-workspace
|
|
7550
7554
|
imagePullPolicy: IfNotPresent
|
|
7551
|
-
image: quay.io/ibmmas/cli:11.
|
|
7555
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
7552
7556
|
workspaces:
|
|
7553
7557
|
- name: configs
|
|
7554
7558
|
# --------------------------------------------------------------------------------
|
|
@@ -7828,7 +7832,7 @@ spec:
|
|
|
7828
7832
|
- -c
|
|
7829
7833
|
name: gitops-suite
|
|
7830
7834
|
imagePullPolicy: IfNotPresent
|
|
7831
|
-
image: quay.io/ibmmas/cli:11.
|
|
7835
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
7832
7836
|
workspaces:
|
|
7833
7837
|
- name: configs
|
|
7834
7838
|
- name: shared-gitops-configs
|
|
@@ -7878,7 +7882,7 @@ spec:
|
|
|
7878
7882
|
|
|
7879
7883
|
steps:
|
|
7880
7884
|
- name: grafana
|
|
7881
|
-
image: quay.io/ibmmas/cli:11.
|
|
7885
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
7882
7886
|
imagePullPolicy: $(params.image_pull_policy)
|
|
7883
7887
|
command:
|
|
7884
7888
|
- /opt/app-root/src/run-role.sh
|
|
@@ -8012,7 +8016,7 @@ spec:
|
|
|
8012
8016
|
command:
|
|
8013
8017
|
- /opt/app-root/src/run-role.sh
|
|
8014
8018
|
- ibm_catalogs
|
|
8015
|
-
image: quay.io/ibmmas/cli:11.
|
|
8019
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
8016
8020
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8017
8021
|
workingDir: /workspace/configs
|
|
8018
8022
|
# --------------------------------------------------------------------------------
|
|
@@ -8254,7 +8258,7 @@ spec:
|
|
|
8254
8258
|
command:
|
|
8255
8259
|
- /opt/app-root/src/run-role.sh
|
|
8256
8260
|
- kafka
|
|
8257
|
-
image: quay.io/ibmmas/cli:11.
|
|
8261
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
8258
8262
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8259
8263
|
workingDir: /workspace/configs
|
|
8260
8264
|
|
|
@@ -8437,7 +8441,7 @@ spec:
|
|
|
8437
8441
|
command:
|
|
8438
8442
|
- /opt/app-root/src/run-role.sh
|
|
8439
8443
|
- mongodb
|
|
8440
|
-
image: quay.io/ibmmas/cli:11.
|
|
8444
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
8441
8445
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8442
8446
|
workingDir: /workspace/configs
|
|
8443
8447
|
|
|
@@ -8480,7 +8484,7 @@ spec:
|
|
|
8480
8484
|
- $(params.base_output_dir)
|
|
8481
8485
|
- --extra-namespaces
|
|
8482
8486
|
- selenium
|
|
8483
|
-
image: quay.io/ibmmas/cli:11.
|
|
8487
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
8484
8488
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8485
8489
|
env:
|
|
8486
8490
|
- name: DEVOPS_MONGO_URI
|
|
@@ -8597,7 +8601,7 @@ spec:
|
|
|
8597
8601
|
command:
|
|
8598
8602
|
- /opt/app-root/src/run-role.sh
|
|
8599
8603
|
- nvidia_gpu
|
|
8600
|
-
image: quay.io/ibmmas/cli:11.
|
|
8604
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
8601
8605
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8602
8606
|
workingDir: /workspace/configs
|
|
8603
8607
|
|
|
@@ -8633,7 +8637,7 @@ spec:
|
|
|
8633
8637
|
# Verify Cluster
|
|
8634
8638
|
# -------------------------------------------------------------------------
|
|
8635
8639
|
- name: ocp-verify-cluster
|
|
8636
|
-
image: quay.io/ibmmas/cli:11.
|
|
8640
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
8637
8641
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8638
8642
|
command:
|
|
8639
8643
|
- /opt/app-root/src/run-role.sh
|
|
@@ -8675,7 +8679,7 @@ spec:
|
|
|
8675
8679
|
# Verify Catalogs
|
|
8676
8680
|
# -------------------------------------------------------------------------
|
|
8677
8681
|
- name: ocp-verify-catalogs
|
|
8678
|
-
image: quay.io/ibmmas/cli:11.
|
|
8682
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
8679
8683
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8680
8684
|
command:
|
|
8681
8685
|
- /opt/app-root/src/run-role.sh
|
|
@@ -8717,7 +8721,7 @@ spec:
|
|
|
8717
8721
|
# Verify Subscriptions
|
|
8718
8722
|
# -------------------------------------------------------------------------
|
|
8719
8723
|
- name: ocp-verify-subscriptions
|
|
8720
|
-
image: quay.io/ibmmas/cli:11.
|
|
8724
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
8721
8725
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8722
8726
|
command:
|
|
8723
8727
|
- /opt/app-root/src/run-role.sh
|
|
@@ -8759,7 +8763,7 @@ spec:
|
|
|
8759
8763
|
# Verify Workloads
|
|
8760
8764
|
# -------------------------------------------------------------------------
|
|
8761
8765
|
- name: ocp-verify-workloads
|
|
8762
|
-
image: quay.io/ibmmas/cli:11.
|
|
8766
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
8763
8767
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8764
8768
|
command:
|
|
8765
8769
|
- /opt/app-root/src/run-role.sh
|
|
@@ -8801,7 +8805,7 @@ spec:
|
|
|
8801
8805
|
# Verify Catalogs - Ingress TLS
|
|
8802
8806
|
# -------------------------------------------------------------------------
|
|
8803
8807
|
- name: ocp-verify-ingress
|
|
8804
|
-
image: quay.io/ibmmas/cli:11.
|
|
8808
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
8805
8809
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8806
8810
|
command:
|
|
8807
8811
|
- /opt/app-root/src/run-role.sh
|
|
@@ -8927,7 +8931,7 @@ spec:
|
|
|
8927
8931
|
command:
|
|
8928
8932
|
- /opt/app-root/src/run-role.sh
|
|
8929
8933
|
- ocp_verify
|
|
8930
|
-
image: quay.io/ibmmas/cli:11.
|
|
8934
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
8931
8935
|
imagePullPolicy: $(params.image_pull_policy)
|
|
8932
8936
|
workingDir: /workspace/configs
|
|
8933
8937
|
# --------------------------------------------------------------------------------
|
|
@@ -8995,7 +8999,7 @@ spec:
|
|
|
8995
8999
|
command:
|
|
8996
9000
|
- /opt/app-root/src/run-role.sh
|
|
8997
9001
|
- ocs
|
|
8998
|
-
image: quay.io/ibmmas/cli:11.
|
|
9002
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
8999
9003
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9000
9004
|
workingDir: /workspace/configs
|
|
9001
9005
|
|
|
@@ -9176,7 +9180,7 @@ spec:
|
|
|
9176
9180
|
command:
|
|
9177
9181
|
- /opt/app-root/src/run-role.sh
|
|
9178
9182
|
- sls
|
|
9179
|
-
image: quay.io/ibmmas/cli:11.
|
|
9183
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
9180
9184
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9181
9185
|
workingDir: /workspace/configs
|
|
9182
9186
|
|
|
@@ -9551,12 +9555,12 @@ spec:
|
|
|
9551
9555
|
command:
|
|
9552
9556
|
- /opt/app-root/src/run-role.sh
|
|
9553
9557
|
- suite_app_config
|
|
9554
|
-
image: quay.io/ibmmas/cli:11.
|
|
9558
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
9555
9559
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9556
9560
|
|
|
9557
9561
|
# If configmap/approval-app-cfg-$(params.mas_app_id) exists then set CONFIGMAP_KEY=pending and wait for it to be changed to "approved"
|
|
9558
9562
|
- name: app-cfg-post-verify
|
|
9559
|
-
image: quay.io/ibmmas/cli:11.
|
|
9563
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
9560
9564
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9561
9565
|
command:
|
|
9562
9566
|
- /opt/app-root/src/wait-for-configmap.sh
|
|
@@ -9757,7 +9761,7 @@ spec:
|
|
|
9757
9761
|
command:
|
|
9758
9762
|
- /opt/app-root/src/run-role.sh
|
|
9759
9763
|
- suite_app_install
|
|
9760
|
-
image: quay.io/ibmmas/cli:11.
|
|
9764
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
9761
9765
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9762
9766
|
|
|
9763
9767
|
workspaces:
|
|
@@ -9846,7 +9850,7 @@ spec:
|
|
|
9846
9850
|
command:
|
|
9847
9851
|
- /opt/app-root/src/run-role.sh
|
|
9848
9852
|
- suite_app_rollback
|
|
9849
|
-
image: quay.io/ibmmas/cli:11.
|
|
9853
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
9850
9854
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9851
9855
|
# --------------------------------------------------------------------------------
|
|
9852
9856
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-app-uninstall.yaml
|
|
@@ -9909,7 +9913,7 @@ spec:
|
|
|
9909
9913
|
command:
|
|
9910
9914
|
- /opt/app-root/src/run-role.sh
|
|
9911
9915
|
- suite_app_uninstall
|
|
9912
|
-
image: quay.io/ibmmas/cli:11.
|
|
9916
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
9913
9917
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9914
9918
|
# --------------------------------------------------------------------------------
|
|
9915
9919
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-app-upgrade.yaml
|
|
@@ -9984,7 +9988,7 @@ spec:
|
|
|
9984
9988
|
command:
|
|
9985
9989
|
- /opt/app-root/src/run-role.sh
|
|
9986
9990
|
- suite_app_upgrade
|
|
9987
|
-
image: quay.io/ibmmas/cli:11.
|
|
9991
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
9988
9992
|
imagePullPolicy: $(params.image_pull_policy)
|
|
9989
9993
|
# --------------------------------------------------------------------------------
|
|
9990
9994
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-app-verify.yaml
|
|
@@ -10085,7 +10089,7 @@ spec:
|
|
|
10085
10089
|
command:
|
|
10086
10090
|
- /opt/app-root/src/run-role.sh
|
|
10087
10091
|
- suite_app_verify
|
|
10088
|
-
image: quay.io/ibmmas/cli:11.
|
|
10092
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
10089
10093
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10090
10094
|
# --------------------------------------------------------------------------------
|
|
10091
10095
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-certs.yaml
|
|
@@ -10228,7 +10232,7 @@ spec:
|
|
|
10228
10232
|
command:
|
|
10229
10233
|
- /opt/app-root/src/run-role.sh
|
|
10230
10234
|
- suite_certs
|
|
10231
|
-
image: quay.io/ibmmas/cli:11.
|
|
10235
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
10232
10236
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10233
10237
|
|
|
10234
10238
|
workspaces:
|
|
@@ -10295,7 +10299,7 @@ spec:
|
|
|
10295
10299
|
command:
|
|
10296
10300
|
- /opt/app-root/src/run-role.sh
|
|
10297
10301
|
- suite_config
|
|
10298
|
-
image: quay.io/ibmmas/cli:11.
|
|
10302
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
10299
10303
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10300
10304
|
workingDir: /workspace/configs
|
|
10301
10305
|
|
|
@@ -10366,7 +10370,7 @@ spec:
|
|
|
10366
10370
|
command:
|
|
10367
10371
|
- /opt/app-root/src/run-role.sh
|
|
10368
10372
|
- suite_db2_setup_for_manage
|
|
10369
|
-
image: quay.io/ibmmas/cli:11.
|
|
10373
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
10370
10374
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10371
10375
|
# --------------------------------------------------------------------------------
|
|
10372
10376
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-dns.yaml
|
|
@@ -10556,7 +10560,7 @@ spec:
|
|
|
10556
10560
|
command:
|
|
10557
10561
|
- /opt/app-root/src/run-role.sh
|
|
10558
10562
|
- suite_dns
|
|
10559
|
-
image: quay.io/ibmmas/cli:11.
|
|
10563
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
10560
10564
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10561
10565
|
# --------------------------------------------------------------------------------
|
|
10562
10566
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-install.yaml
|
|
@@ -10805,7 +10809,7 @@ spec:
|
|
|
10805
10809
|
command:
|
|
10806
10810
|
- /opt/app-root/src/run-role.sh
|
|
10807
10811
|
- suite_install
|
|
10808
|
-
image: quay.io/ibmmas/cli:11.
|
|
10812
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
10809
10813
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10810
10814
|
workingDir: /workspace/configs
|
|
10811
10815
|
|
|
@@ -10893,7 +10897,7 @@ spec:
|
|
|
10893
10897
|
command:
|
|
10894
10898
|
- /opt/app-root/src/run-role.sh
|
|
10895
10899
|
- suite_rollback
|
|
10896
|
-
image: quay.io/ibmmas/cli:11.
|
|
10900
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
10897
10901
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10898
10902
|
# --------------------------------------------------------------------------------
|
|
10899
10903
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-uninstall.yaml
|
|
@@ -10958,7 +10962,7 @@ spec:
|
|
|
10958
10962
|
command:
|
|
10959
10963
|
- /opt/app-root/src/run-role.sh
|
|
10960
10964
|
- suite_uninstall
|
|
10961
|
-
image: quay.io/ibmmas/cli:11.
|
|
10965
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
10962
10966
|
imagePullPolicy: $(params.image_pull_policy)
|
|
10963
10967
|
# --------------------------------------------------------------------------------
|
|
10964
10968
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-upgrade.yaml
|
|
@@ -11028,7 +11032,7 @@ spec:
|
|
|
11028
11032
|
command:
|
|
11029
11033
|
- /opt/app-root/src/run-role.sh
|
|
11030
11034
|
- suite_upgrade
|
|
11031
|
-
image: quay.io/ibmmas/cli:11.
|
|
11035
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
11032
11036
|
imagePullPolicy: $(params.image_pull_policy)
|
|
11033
11037
|
# --------------------------------------------------------------------------------
|
|
11034
11038
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-verify.yaml
|
|
@@ -11090,12 +11094,12 @@ spec:
|
|
|
11090
11094
|
command:
|
|
11091
11095
|
- /opt/app-root/src/run-role.sh
|
|
11092
11096
|
- suite_verify
|
|
11093
|
-
image: quay.io/ibmmas/cli:11.
|
|
11097
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
11094
11098
|
imagePullPolicy: $(params.image_pull_policy)
|
|
11095
11099
|
|
|
11096
11100
|
# If configmap/approval-suite-verify exists then set CONFIGMAP_KEY=pending and wait for it to be changed to "approved"
|
|
11097
11101
|
- name: suite-post-verify
|
|
11098
|
-
image: quay.io/ibmmas/cli:11.
|
|
11102
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
11099
11103
|
imagePullPolicy: $(params.image_pull_policy)
|
|
11100
11104
|
command:
|
|
11101
11105
|
- /opt/app-root/src/wait-for-configmap.sh
|
|
@@ -11224,7 +11228,7 @@ spec:
|
|
|
11224
11228
|
command:
|
|
11225
11229
|
- /opt/app-root/src/run-role.sh
|
|
11226
11230
|
- turbonomic
|
|
11227
|
-
image: quay.io/ibmmas/cli:11.
|
|
11231
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
11228
11232
|
imagePullPolicy: $(params.image_pull_policy)
|
|
11229
11233
|
# --------------------------------------------------------------------------------
|
|
11230
11234
|
# /home/runner/work/cli/cli/tekton/target/tasks/uds.yaml
|
|
@@ -11305,7 +11309,7 @@ spec:
|
|
|
11305
11309
|
# IBM User Data Services (UDS)
|
|
11306
11310
|
# -------------------------------------------------------------------------
|
|
11307
11311
|
- name: uds
|
|
11308
|
-
image: quay.io/ibmmas/cli:11.
|
|
11312
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
11309
11313
|
imagePullPolicy: $(params.image_pull_policy)
|
|
11310
11314
|
workingDir: /workspace/configs
|
|
11311
11315
|
command:
|
|
@@ -11368,7 +11372,7 @@ spec:
|
|
|
11368
11372
|
# IBM Data Reporter Operator (DRO)
|
|
11369
11373
|
# -------------------------------------------------------------------------
|
|
11370
11374
|
- name: dro
|
|
11371
|
-
image: quay.io/ibmmas/cli:11.
|
|
11375
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
11372
11376
|
imagePullPolicy: $(params.image_pull_policy)
|
|
11373
11377
|
workingDir: /workspace/configs
|
|
11374
11378
|
command:
|
|
@@ -11454,7 +11458,7 @@ spec:
|
|
|
11454
11458
|
|
|
11455
11459
|
steps:
|
|
11456
11460
|
- name: update-configmap
|
|
11457
|
-
image: quay.io/ibmmas/cli:11.
|
|
11461
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
11458
11462
|
command:
|
|
11459
11463
|
- /opt/app-root/src/update-configmap.sh
|
|
11460
11464
|
env:
|
|
@@ -11516,7 +11520,7 @@ spec:
|
|
|
11516
11520
|
|
|
11517
11521
|
steps:
|
|
11518
11522
|
- name: wait-for-configmap
|
|
11519
|
-
image: quay.io/ibmmas/cli:11.
|
|
11523
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
11520
11524
|
command:
|
|
11521
11525
|
- /opt/app-root/src/wait-for-configmap.sh
|
|
11522
11526
|
env:
|
|
@@ -11580,7 +11584,7 @@ spec:
|
|
|
11580
11584
|
|
|
11581
11585
|
steps:
|
|
11582
11586
|
- name: wait
|
|
11583
|
-
image: quay.io/ibmmas/cli:11.
|
|
11587
|
+
image: quay.io/ibmmas/cli:11.5.0
|
|
11584
11588
|
command:
|
|
11585
11589
|
- /opt/app-root/src/wait-for-tekton.sh
|
|
11586
11590
|
env:
|
|
@@ -17061,6 +17065,249 @@ spec:
|
|
|
17061
17065
|
operator: in
|
|
17062
17066
|
values: ["provision"]
|
|
17063
17067
|
# --------------------------------------------------------------------------------
|
|
17068
|
+
# /home/runner/work/cli/cli/tekton/target/pipelines/gitops-mas-deps.yaml
|
|
17069
|
+
# --------------------------------------------------------------------------------
|
|
17070
|
+
---
|
|
17071
|
+
apiVersion: tekton.dev/v1beta1
|
|
17072
|
+
kind: Pipeline
|
|
17073
|
+
metadata:
|
|
17074
|
+
name: gitops-mas-deps
|
|
17075
|
+
spec:
|
|
17076
|
+
description: MAS Cluster off-cluster dependencies
|
|
17077
|
+
workspaces:
|
|
17078
|
+
- name: configs
|
|
17079
|
+
params:
|
|
17080
|
+
- name: cluster_name
|
|
17081
|
+
type: string
|
|
17082
|
+
- name: account
|
|
17083
|
+
type: string
|
|
17084
|
+
- name: mas_instance_id
|
|
17085
|
+
type: string
|
|
17086
|
+
- name: secrets_path
|
|
17087
|
+
type: string
|
|
17088
|
+
- name: avp_aws_secret_region
|
|
17089
|
+
type: string
|
|
17090
|
+
- name: avp_aws_secret_key
|
|
17091
|
+
type: string
|
|
17092
|
+
- name: avp_aws_access_key
|
|
17093
|
+
type: string
|
|
17094
|
+
- name: github_pat
|
|
17095
|
+
type: string
|
|
17096
|
+
|
|
17097
|
+
- name: vpc_ipv4_cidr
|
|
17098
|
+
type: string
|
|
17099
|
+
- name: mongo_provider
|
|
17100
|
+
type: string
|
|
17101
|
+
default: aws
|
|
17102
|
+
- name: aws_docdb_instance_number
|
|
17103
|
+
type: string
|
|
17104
|
+
default: 3
|
|
17105
|
+
- name: aws_docdb_engine_version
|
|
17106
|
+
type: string
|
|
17107
|
+
default: 4.0.0
|
|
17108
|
+
|
|
17109
|
+
- name: kafka_provider
|
|
17110
|
+
type: string
|
|
17111
|
+
default: aws
|
|
17112
|
+
- name: kafka_version
|
|
17113
|
+
type: string
|
|
17114
|
+
default: 3.3.1
|
|
17115
|
+
- name: kafka_action
|
|
17116
|
+
type: string
|
|
17117
|
+
- name: kafkacfg_file_name
|
|
17118
|
+
type: string
|
|
17119
|
+
default: ""
|
|
17120
|
+
- name: aws_msk_instance_type
|
|
17121
|
+
type: string
|
|
17122
|
+
default: ""
|
|
17123
|
+
|
|
17124
|
+
- name: efs_action
|
|
17125
|
+
type: string
|
|
17126
|
+
description: efs action to be performed (provision or deprovision)
|
|
17127
|
+
default: ""
|
|
17128
|
+
- name: cloud_provider
|
|
17129
|
+
type: string
|
|
17130
|
+
default: aws
|
|
17131
|
+
|
|
17132
|
+
- name: cos_type
|
|
17133
|
+
type: string
|
|
17134
|
+
description: COS Provider (ibm or ocs)
|
|
17135
|
+
default: ""
|
|
17136
|
+
- name: ibmcloud_resourcegroup
|
|
17137
|
+
type: string
|
|
17138
|
+
description: Name of an existing COS Resource Group in IBM Cloud account
|
|
17139
|
+
default: ""
|
|
17140
|
+
- name: cos_action
|
|
17141
|
+
type: string
|
|
17142
|
+
description: COS action to be performed (provision or deprovision)
|
|
17143
|
+
default: ""
|
|
17144
|
+
- name: cos_use_hmac
|
|
17145
|
+
type: string
|
|
17146
|
+
description: Optional boolean variable weather hmac is enabled or not
|
|
17147
|
+
default: ""
|
|
17148
|
+
|
|
17149
|
+
- name: ibmcloud_apikey
|
|
17150
|
+
type: string
|
|
17151
|
+
default: ""
|
|
17152
|
+
|
|
17153
|
+
tasks:
|
|
17154
|
+
- name: gitops-mongo
|
|
17155
|
+
params:
|
|
17156
|
+
- name: cluster_name
|
|
17157
|
+
value: $(params.cluster_name)
|
|
17158
|
+
- name: account
|
|
17159
|
+
value: $(params.account)
|
|
17160
|
+
- name: secrets_path
|
|
17161
|
+
value: $(params.secrets_path)
|
|
17162
|
+
- name: avp_aws_secret_region
|
|
17163
|
+
value: $(params.avp_aws_secret_region)
|
|
17164
|
+
- name: avp_aws_secret_key
|
|
17165
|
+
value: $(params.avp_aws_secret_key)
|
|
17166
|
+
- name: avp_aws_access_key
|
|
17167
|
+
value: $(params.avp_aws_access_key)
|
|
17168
|
+
- name: vpc_ipv4_cidr
|
|
17169
|
+
value: $(params.vpc_ipv4_cidr)
|
|
17170
|
+
- name: mongo_provider
|
|
17171
|
+
value: $(params.mongo_provider)
|
|
17172
|
+
- name: aws_docdb_instance_number
|
|
17173
|
+
value: $(params.aws_docdb_instance_number)
|
|
17174
|
+
- name: aws_docdb_engine_version
|
|
17175
|
+
value: $(params.aws_docdb_engine_version)
|
|
17176
|
+
taskRef:
|
|
17177
|
+
kind: Task
|
|
17178
|
+
name: gitops-mongo
|
|
17179
|
+
workspaces:
|
|
17180
|
+
- name: configs
|
|
17181
|
+
workspace: configs
|
|
17182
|
+
|
|
17183
|
+
# 2. Kafka
|
|
17184
|
+
# -------------------------------------------------------------------------
|
|
17185
|
+
- name: gitops-kafka
|
|
17186
|
+
params:
|
|
17187
|
+
- name: secrets_path
|
|
17188
|
+
value: $(params.secrets_path)
|
|
17189
|
+
- name: avp_aws_secret_region
|
|
17190
|
+
value: $(params.avp_aws_secret_region)
|
|
17191
|
+
|
|
17192
|
+
- name: cluster_name
|
|
17193
|
+
value: $(params.cluster_name)
|
|
17194
|
+
- name: account
|
|
17195
|
+
value: $(params.account)
|
|
17196
|
+
|
|
17197
|
+
- name: mas_instance_id
|
|
17198
|
+
value: $(params.mas_instance_id)
|
|
17199
|
+
|
|
17200
|
+
- name: avp_aws_secret_key
|
|
17201
|
+
value: $(params.avp_aws_secret_key)
|
|
17202
|
+
- name: avp_aws_access_key
|
|
17203
|
+
value: $(params.avp_aws_access_key)
|
|
17204
|
+
|
|
17205
|
+
- name: kafka_provider
|
|
17206
|
+
value: $(params.kafka_provider)
|
|
17207
|
+
- name: kafka_version
|
|
17208
|
+
value: $(params.kafka_version)
|
|
17209
|
+
- name: vpc_ipv4_cidr
|
|
17210
|
+
value: $(params.vpc_ipv4_cidr)
|
|
17211
|
+
- name: kafkacfg_file_name
|
|
17212
|
+
value: $(params.kafkacfg_file_name)
|
|
17213
|
+
- name: aws_msk_instance_type
|
|
17214
|
+
value: $(params.aws_msk_instance_type)
|
|
17215
|
+
|
|
17216
|
+
workspaces:
|
|
17217
|
+
- name: configs
|
|
17218
|
+
workspace: configs
|
|
17219
|
+
taskRef:
|
|
17220
|
+
kind: Task
|
|
17221
|
+
name: gitops-kafka
|
|
17222
|
+
when:
|
|
17223
|
+
- input: "$(params.kafka_action)"
|
|
17224
|
+
operator: notin
|
|
17225
|
+
values: [""]
|
|
17226
|
+
|
|
17227
|
+
# Install Cloud Object Storage (COS)
|
|
17228
|
+
- name: gitops-cos
|
|
17229
|
+
params:
|
|
17230
|
+
- name: secrets_path
|
|
17231
|
+
value: $(params.secrets_path)
|
|
17232
|
+
- name: avp_aws_secret_region
|
|
17233
|
+
value: $(params.avp_aws_secret_region)
|
|
17234
|
+
|
|
17235
|
+
- name: github_pat
|
|
17236
|
+
value: $(params.github_pat)
|
|
17237
|
+
|
|
17238
|
+
- name: cluster_name
|
|
17239
|
+
value: $(params.cluster_name)
|
|
17240
|
+
- name: account
|
|
17241
|
+
value: $(params.account)
|
|
17242
|
+
- name: avp_aws_secret_key
|
|
17243
|
+
value: $(params.avp_aws_secret_key)
|
|
17244
|
+
- name: avp_aws_access_key
|
|
17245
|
+
value: $(params.avp_aws_access_key)
|
|
17246
|
+
|
|
17247
|
+
- name: mas_instance_id
|
|
17248
|
+
value: $(params.mas_instance_id)
|
|
17249
|
+
|
|
17250
|
+
- name: cos_action
|
|
17251
|
+
value: $(params.cos_action)
|
|
17252
|
+
- name: cos_type
|
|
17253
|
+
value: $(params.cos_type)
|
|
17254
|
+
- name: ibmcloud_resourcegroup
|
|
17255
|
+
value: $(params.ibmcloud_resourcegroup)
|
|
17256
|
+
- name: ibmcloud_apikey
|
|
17257
|
+
value: $(params.ibmcloud_apikey)
|
|
17258
|
+
- name: cos_use_hmac
|
|
17259
|
+
value: $(params.cos_use_hmac)
|
|
17260
|
+
|
|
17261
|
+
workspaces:
|
|
17262
|
+
- name: configs
|
|
17263
|
+
workspace: configs
|
|
17264
|
+
|
|
17265
|
+
taskRef:
|
|
17266
|
+
kind: Task
|
|
17267
|
+
name: gitops-cos
|
|
17268
|
+
when:
|
|
17269
|
+
- input: "$(params.cos_action)"
|
|
17270
|
+
operator: notin
|
|
17271
|
+
values: [""]
|
|
17272
|
+
- input: "$(params.cos_action)"
|
|
17273
|
+
operator: in
|
|
17274
|
+
values: ["provision"]
|
|
17275
|
+
|
|
17276
|
+
# Install AWS Elastic File Service (EFS)
|
|
17277
|
+
- name: gitops-efs
|
|
17278
|
+
params:
|
|
17279
|
+
- name: secrets_path
|
|
17280
|
+
value: $(params.secrets_path)
|
|
17281
|
+
- name: avp_aws_secret_region
|
|
17282
|
+
value: $(params.avp_aws_secret_region)
|
|
17283
|
+
- name: cluster_name
|
|
17284
|
+
value: $(params.cluster_name)
|
|
17285
|
+
- name: mas_instance_id
|
|
17286
|
+
value: $(params.mas_instance_id)
|
|
17287
|
+
- name: cloud_provider
|
|
17288
|
+
value: $(params.cloud_provider)
|
|
17289
|
+
- name: avp_aws_secret_key
|
|
17290
|
+
value: $(params.avp_aws_secret_key)
|
|
17291
|
+
- name: avp_aws_access_key
|
|
17292
|
+
value: $(params.avp_aws_access_key)
|
|
17293
|
+
- name: efs_action
|
|
17294
|
+
value: $(params.efs_action)
|
|
17295
|
+
|
|
17296
|
+
workspaces:
|
|
17297
|
+
- name: configs
|
|
17298
|
+
workspace: configs
|
|
17299
|
+
|
|
17300
|
+
taskRef:
|
|
17301
|
+
kind: Task
|
|
17302
|
+
name: gitops-efs
|
|
17303
|
+
when:
|
|
17304
|
+
- input: "$(params.efs_action)"
|
|
17305
|
+
operator: notin
|
|
17306
|
+
values: [""]
|
|
17307
|
+
- input: "$(params.efs_action)"
|
|
17308
|
+
operator: in
|
|
17309
|
+
values: ["provision"]
|
|
17310
|
+
# --------------------------------------------------------------------------------
|
|
17064
17311
|
# /home/runner/work/cli/cli/tekton/target/pipelines/gitops-mas-fvt-preparer-pipeline.yaml
|
|
17065
17312
|
# --------------------------------------------------------------------------------
|
|
17066
17313
|
---
|
|
@@ -17114,6 +17361,8 @@ spec:
|
|
|
17114
17361
|
type: string
|
|
17115
17362
|
- name: fvt_version_ctf
|
|
17116
17363
|
type: string
|
|
17364
|
+
- name: fvt_version_predict
|
|
17365
|
+
type: string
|
|
17117
17366
|
- name: fvt_version_assist
|
|
17118
17367
|
type: string
|
|
17119
17368
|
- name: fvt_version_iot
|
|
@@ -17266,6 +17515,8 @@ spec:
|
|
|
17266
17515
|
value: $(params.ivt_version_core)
|
|
17267
17516
|
- name: fvt_version_ctf
|
|
17268
17517
|
value: $(params.fvt_version_ctf)
|
|
17518
|
+
- name: fvt_version_predict
|
|
17519
|
+
value: $(params.fvt_version_predict)
|
|
17269
17520
|
- name: fvt_version_assist
|
|
17270
17521
|
value: $(params.fvt_version_assist)
|
|
17271
17522
|
- name: fvt_version_iot
|
|
@@ -17410,6 +17661,8 @@ spec:
|
|
|
17410
17661
|
- name: mas_operationalmode
|
|
17411
17662
|
type: string
|
|
17412
17663
|
default: ""
|
|
17664
|
+
- name: mas_instance_id
|
|
17665
|
+
type: string
|
|
17413
17666
|
- name: mas_app_channel_assist
|
|
17414
17667
|
type: string
|
|
17415
17668
|
default: ""
|
|
@@ -17525,6 +17778,190 @@ spec:
|
|
|
17525
17778
|
value: $(params.mas_channel)
|
|
17526
17779
|
- name: mas_operationalmode
|
|
17527
17780
|
value: $(params.mas_operationalmode)
|
|
17781
|
+
- name: mas_instance_id
|
|
17782
|
+
value: $(params.mas_instance_id)
|
|
17783
|
+
- name: mas_app_channel_assist
|
|
17784
|
+
value: $(params.mas_app_channel_assist)
|
|
17785
|
+
- name: mas_app_channel_iot
|
|
17786
|
+
value: $(params.mas_app_channel_iot)
|
|
17787
|
+
- name: mas_app_channel_manage
|
|
17788
|
+
value: $(params.mas_app_channel_manage)
|
|
17789
|
+
- name: mas_app_channel_monitor
|
|
17790
|
+
value: $(params.mas_app_channel_monitor)
|
|
17791
|
+
- name: mas_app_channel_optimizer
|
|
17792
|
+
value: $(params.mas_app_channel_optimizer)
|
|
17793
|
+
- name: mas_app_channel_predict
|
|
17794
|
+
value: $(params.mas_app_channel_predict)
|
|
17795
|
+
- name: mas_app_channel_visualinspection
|
|
17796
|
+
value: $(params.mas_app_channel_visualinspection)
|
|
17797
|
+
- name: github_pat
|
|
17798
|
+
value: $(params.github_pat)
|
|
17799
|
+
- name: manual_certs_control_flag
|
|
17800
|
+
value: $(params.manual_certs_control_flag)
|
|
17801
|
+
- name: dns_provider_control_iden
|
|
17802
|
+
value: $(params.dns_provider_control_iden)
|
|
17803
|
+
- name: cli_version
|
|
17804
|
+
value: $(params.cli_version)
|
|
17805
|
+
- name: fvt_ansible_version
|
|
17806
|
+
value: $(params.fvt_ansible_version)
|
|
17807
|
+
- name: artifactory_username
|
|
17808
|
+
value: $(params.artifactory_username)
|
|
17809
|
+
- name: artifactory_token
|
|
17810
|
+
value: $(params.artifactory_token)
|
|
17811
|
+
taskRef:
|
|
17812
|
+
kind: Task
|
|
17813
|
+
name: gitops-mas-initiator
|
|
17814
|
+
workspaces:
|
|
17815
|
+
- name: configs
|
|
17816
|
+
workspace: configs
|
|
17817
|
+
# --------------------------------------------------------------------------------
|
|
17818
|
+
# /home/runner/work/cli/cli/tekton/target/pipelines/gitops-mas-initiator.yaml
|
|
17819
|
+
# --------------------------------------------------------------------------------
|
|
17820
|
+
---
|
|
17821
|
+
apiVersion: tekton.dev/v1beta1
|
|
17822
|
+
kind: Pipeline
|
|
17823
|
+
metadata:
|
|
17824
|
+
name: gitops-mas-initiator
|
|
17825
|
+
spec:
|
|
17826
|
+
description: Initials the gitops deployment of MAS
|
|
17827
|
+
workspaces:
|
|
17828
|
+
- name: configs
|
|
17829
|
+
params:
|
|
17830
|
+
- name: cluster_name
|
|
17831
|
+
type: string
|
|
17832
|
+
- name: account
|
|
17833
|
+
type: string
|
|
17834
|
+
- name: secrets_path
|
|
17835
|
+
type: string
|
|
17836
|
+
- name: avp_aws_secret_region
|
|
17837
|
+
type: string
|
|
17838
|
+
- name: avp_aws_secret_key
|
|
17839
|
+
type: string
|
|
17840
|
+
- name: avp_aws_access_key
|
|
17841
|
+
type: string
|
|
17842
|
+
- name: region
|
|
17843
|
+
type: string
|
|
17844
|
+
- name: github_host
|
|
17845
|
+
type: string
|
|
17846
|
+
- name: target_git_branch
|
|
17847
|
+
type: string
|
|
17848
|
+
- name: target_github_org
|
|
17849
|
+
type: string
|
|
17850
|
+
- name: target_github_repo
|
|
17851
|
+
type: string
|
|
17852
|
+
- name: source_git_branch
|
|
17853
|
+
type: string
|
|
17854
|
+
- name: source_github_org
|
|
17855
|
+
type: string
|
|
17856
|
+
- name: source_github_repo
|
|
17857
|
+
type: string
|
|
17858
|
+
- name: source_path
|
|
17859
|
+
type: string
|
|
17860
|
+
default: ""
|
|
17861
|
+
- name: mas_channel
|
|
17862
|
+
type: string
|
|
17863
|
+
- name: mas_operationalmode
|
|
17864
|
+
type: string
|
|
17865
|
+
default: ""
|
|
17866
|
+
- name: mas_instance_id
|
|
17867
|
+
type: string
|
|
17868
|
+
- name: mas_app_channel_assist
|
|
17869
|
+
type: string
|
|
17870
|
+
default: ""
|
|
17871
|
+
- name: mas_app_channel_iot
|
|
17872
|
+
type: string
|
|
17873
|
+
default: ""
|
|
17874
|
+
- name: mas_app_channel_manage
|
|
17875
|
+
type: string
|
|
17876
|
+
default: ""
|
|
17877
|
+
- name: mas_app_channel_monitor
|
|
17878
|
+
type: string
|
|
17879
|
+
default: ""
|
|
17880
|
+
- name: mas_app_channel_optimizer
|
|
17881
|
+
type: string
|
|
17882
|
+
default: ""
|
|
17883
|
+
- name: mas_app_channel_predict
|
|
17884
|
+
type: string
|
|
17885
|
+
default: ""
|
|
17886
|
+
- name: mas_app_channel_visualinspection
|
|
17887
|
+
type: string
|
|
17888
|
+
default: ""
|
|
17889
|
+
- name: github_pat
|
|
17890
|
+
type: string
|
|
17891
|
+
- name: ibmcloud_apikey
|
|
17892
|
+
type: string
|
|
17893
|
+
default: ""
|
|
17894
|
+
- name: avp_type
|
|
17895
|
+
type: string
|
|
17896
|
+
default: "aws"
|
|
17897
|
+
- name: secrets_key_seperator
|
|
17898
|
+
type: string
|
|
17899
|
+
default: "/"
|
|
17900
|
+
|
|
17901
|
+
- name: manual_certs_control_flag
|
|
17902
|
+
type: string
|
|
17903
|
+
default: ""
|
|
17904
|
+
- name: dns_provider_control_iden
|
|
17905
|
+
type: string
|
|
17906
|
+
default: ""
|
|
17907
|
+
|
|
17908
|
+
- name: cli_version
|
|
17909
|
+
type: string
|
|
17910
|
+
default: ""
|
|
17911
|
+
- name: fvt_ansible_version
|
|
17912
|
+
type: string
|
|
17913
|
+
default: ""
|
|
17914
|
+
- name: artifactory_username
|
|
17915
|
+
type: string
|
|
17916
|
+
default: ""
|
|
17917
|
+
- name: artifactory_token
|
|
17918
|
+
type: string
|
|
17919
|
+
default: ""
|
|
17920
|
+
tasks:
|
|
17921
|
+
- name: gitops-mas-initiator
|
|
17922
|
+
params:
|
|
17923
|
+
- name: cluster_name
|
|
17924
|
+
value: $(params.cluster_name)
|
|
17925
|
+
- name: account
|
|
17926
|
+
value: $(params.account)
|
|
17927
|
+
- name: region
|
|
17928
|
+
value: $(params.region)
|
|
17929
|
+
- name: github_host
|
|
17930
|
+
value: $(params.github_host)
|
|
17931
|
+
- name: target_git_branch
|
|
17932
|
+
value: $(params.target_git_branch)
|
|
17933
|
+
- name: target_github_org
|
|
17934
|
+
value: $(params.target_github_org)
|
|
17935
|
+
- name: secrets_path
|
|
17936
|
+
value: $(params.secrets_path)
|
|
17937
|
+
- name: avp_aws_secret_region
|
|
17938
|
+
value: $(params.avp_aws_secret_region)
|
|
17939
|
+
- name: avp_aws_secret_key
|
|
17940
|
+
value: $(params.avp_aws_secret_key)
|
|
17941
|
+
- name: avp_aws_access_key
|
|
17942
|
+
value: $(params.avp_aws_access_key)
|
|
17943
|
+
- name: ibmcloud_apikey
|
|
17944
|
+
value: $(params.ibmcloud_apikey)
|
|
17945
|
+
- name: avp_type
|
|
17946
|
+
value: $(params.avp_type)
|
|
17947
|
+
- name: secrets_key_seperator
|
|
17948
|
+
value: $(params.secrets_key_seperator)
|
|
17949
|
+
- name: target_github_repo
|
|
17950
|
+
value: $(params.target_github_repo)
|
|
17951
|
+
- name: source_git_branch
|
|
17952
|
+
value: $(params.source_git_branch)
|
|
17953
|
+
- name: source_github_org
|
|
17954
|
+
value: $(params.source_github_org)
|
|
17955
|
+
- name: source_github_repo
|
|
17956
|
+
value: $(params.source_github_repo)
|
|
17957
|
+
- name: source_path
|
|
17958
|
+
value: $(params.source_path)
|
|
17959
|
+
- name: mas_channel
|
|
17960
|
+
value: $(params.mas_channel)
|
|
17961
|
+
- name: mas_operationalmode
|
|
17962
|
+
value: $(params.mas_operationalmode)
|
|
17963
|
+
- name: mas_instance_id
|
|
17964
|
+
value: $(params.mas_instance_id)
|
|
17528
17965
|
- name: mas_app_channel_assist
|
|
17529
17966
|
value: $(params.mas_app_channel_assist)
|
|
17530
17967
|
- name: mas_app_channel_iot
|