Skip to content

Commit 274cea1

Browse files
authored
fix(deps): update DA dependencies (#807)
1 parent bdbab68 commit 274cea1

File tree

5 files changed

+57
-77
lines changed

5 files changed

+57
-77
lines changed

ibm_catalog.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@
957957
"name": "deploy-arch-ibm-slz-vpc",
958958
"description": "Configure the VPC and subnets required to deploy your OpenShift cluster.",
959959
"id": "9fc0fa64-27af-4fed-9dce-47b3640ba739-global",
960-
"version": "v8.2.1",
960+
"version": "v8.5.0",
961961
"flavors": [
962962
"fully-configurable"
963963
],
@@ -1014,13 +1014,13 @@
10141014
],
10151015
"optional": true,
10161016
"on_by_default": false,
1017-
"version": "v3.0.7"
1017+
"version": "v3.0.23"
10181018
},
10191019
{
10201020
"name": "deploy-arch-ibm-kms",
10211021
"description": "Integrate IBM Key Protect to manage encryption keys for your cluster, securing persistent volumes and supporting compliance. If unselected, encryption is still applied using IBM-managed keys.",
10221022
"id": "2cad4789-fa90-4886-9c9e-857081c273ee-global",
1023-
"version": "v5.1.19",
1023+
"version": "v5.1.27",
10241024
"flavors": [
10251025
"fully-configurable"
10261026
],
@@ -1052,7 +1052,7 @@
10521052
"name": "deploy-arch-ibm-cos",
10531053
"description": "Set up a Cloud Object Storage (COS) instance and bucket to serve as internal registry storage for your OpenShift cluster.",
10541054
"id": "68921490-2778-4930-ac6d-bae7be6cd958-global",
1055-
"version": "v10.2.1",
1055+
"version": "v10.2.21",
10561056
"flavors": [
10571057
"instance"
10581058
],
@@ -1079,7 +1079,7 @@
10791079
"fully-configurable"
10801080
],
10811081
"id": "63d8ae58-fbf3-41ce-b844-0fb5b85882ab-global",
1082-
"version": "v1.6.11",
1082+
"version": "v1.6.28",
10831083
"optional": true,
10841084
"on_by_default": true,
10851085
"input_mapping": [
@@ -1114,7 +1114,7 @@
11141114
"name": "deploy-arch-ibm-cloud-monitoring",
11151115
"description": "Set up a Cloud Monitoring instance to collect platform metrics.",
11161116
"id": "73debdbf-894f-4c14-81c7-5ece3a70b67d-global",
1117-
"version": "v1.6.4",
1117+
"version": "v1.7.2",
11181118
"flavors": [
11191119
"fully-configurable"
11201120
],
@@ -1153,7 +1153,7 @@
11531153
"name": "deploy-arch-ibm-activity-tracker",
11541154
"description": "Configure Activity Tracker Event Routing to direct auditing events appropriately.",
11551155
"id": "918453c3-4f97-4583-8c4a-83ef12fc7916-global",
1156-
"version": "v1.2.25",
1156+
"version": "v1.2.34",
11571157
"flavors": [
11581158
"fully-configurable"
11591159
],
@@ -1187,7 +1187,7 @@
11871187
"name": "deploy-arch-ibm-secrets-manager",
11881188
"description": "Provision a Secrets Manager instance to securely store and manage sensitive credentials—such as certificates—used by services integrated with your cluster.",
11891189
"id": "6d6ebc76-7bbd-42f5-8bc7-78f4fabd5944-global",
1190-
"version": "v2.8.6",
1190+
"version": "v2.10.0",
11911191
"flavors": [
11921192
"fully-configurable"
11931193
],
@@ -1229,7 +1229,7 @@
12291229
"name": "deploy-arch-ibm-scc-workload-protection",
12301230
"description": "Integrate with Workload Protection to monitor and manage your cluster’s security posture, helping detect misconfigurations and enforce compliance.",
12311231
"id": "4322cf44-2289-49aa-a719-dd79e39b14dc-global",
1232-
"version": "v1.11.4",
1232+
"version": "v1.12.3",
12331233
"flavors": [
12341234
"fully-configurable"
12351235
],

tests/go.mod

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ go 1.24.0
55
toolchain go1.25.1
66

77
require (
8-
github.com/IBM/go-sdk-core v1.1.0
98
github.com/gruntwork-io/terratest v0.50.0
109
github.com/stretchr/testify v1.11.1
11-
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.6
10+
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.9
1211
)
1312

1413
require (
@@ -30,7 +29,6 @@ require (
3029
github.com/cloudflare/circl v1.6.1 // indirect
3130
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
3231
github.com/davecgh/go-spew v1.1.1 // indirect
33-
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
3432
github.com/emirpasic/gods v1.18.1 // indirect
3533
github.com/gabriel-vasile/mimetype v1.4.9 // indirect
3634
github.com/ghodss/yaml v1.0.0 // indirect
@@ -99,7 +97,6 @@ require (
9997
golang.org/x/sys v0.35.0 // indirect
10098
golang.org/x/text v0.28.0 // indirect
10199
golang.org/x/tools v0.35.0 // indirect
102-
gopkg.in/go-playground/validator.v9 v9.31.0 // indirect
103100
gopkg.in/warnings.v0 v0.1.2 // indirect
104101
gopkg.in/yaml.v2 v2.4.0 // indirect
105102
gopkg.in/yaml.v3 v3.0.1 // indirect

tests/go.sum

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ github.com/IBM-Cloud/power-go-client v1.12.0 h1:tF9Mq5GLYHebpzQT6IYB89lIxEST1E9t
66
github.com/IBM-Cloud/power-go-client v1.12.0/go.mod h1:SpTK1ttW8bfMNUVQS8qOEuWn2KOkzaCLyzfze8MG1JE=
77
github.com/IBM/cloud-databases-go-sdk v0.8.0 h1:uMFqhnc/roVTzfCaUsJ23eaHKjChhGpM1F7Mpxik0bo=
88
github.com/IBM/cloud-databases-go-sdk v0.8.0/go.mod h1:JYucI1PdwqbAd8XGdDAchxzxRP7bxOh1zUnseovHKsc=
9-
github.com/IBM/go-sdk-core v1.1.0 h1:pV73lZqr9r1xKb3h08c1uNG3AphwoV5KzUzhS+pfEqY=
10-
github.com/IBM/go-sdk-core v1.1.0/go.mod h1:2pcx9YWsIsZ3I7kH+1amiAkXvLTZtAq9kbxsfXilSoY=
119
github.com/IBM/go-sdk-core/v5 v5.9.2/go.mod h1:YlOwV9LeuclmT/qi/LAK2AsobbAP42veV0j68/rlZsE=
1210
github.com/IBM/go-sdk-core/v5 v5.21.0 h1:DUnYhvC4SoC8T84rx5omnhY3+xcQg/Whyoa3mDPIMkk=
1311
github.com/IBM/go-sdk-core/v5 v5.21.0/go.mod h1:Q3BYO6iDA2zweQPDGbNTtqft5tDcEpm6RTuqMlPcvbw=
@@ -50,8 +48,6 @@ github.com/cyphar/filepath-securejoin v0.4.1/go.mod h1:Sdj7gXlvMcPZsbhwhQ33GguGL
5048
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
5149
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
5250
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
53-
github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=
54-
github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
5551
github.com/elazarl/goproxy v1.7.2 h1:Y2o6urb7Eule09PjlhQRGNsqRfPmYI3KKQLFpCAV3+o=
5652
github.com/elazarl/goproxy v1.7.2/go.mod h1:82vkLNir0ALaW14Rc399OTTjyNREgmdL2cVoIbS6XaE=
5753
github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=
@@ -110,11 +106,9 @@ github.com/go-openapi/validate v0.24.0 h1:LdfDKwNbpB6Vn40xhTdNZAnfLECL81w+VX3Bum
110106
github.com/go-openapi/validate v0.24.0/go.mod h1:iyeX1sEufmv3nPbBdX3ieNviWnOZaJ1+zquzJEf2BAQ=
111107
github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s=
112108
github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
113-
github.com/go-playground/locales v0.12.1/go.mod h1:IUMDtCfWo/w/mtMfIE/IG2K+Ey3ygWanZIBtBW0W2TM=
114109
github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs=
115110
github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA=
116111
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
117-
github.com/go-playground/universal-translator v0.16.0/go.mod h1:1AnU7NaIRDWWzGEKwgtJRd2xk99HeFyHw3yid4rvQIY=
118112
github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA=
119113
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
120114
github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
@@ -199,7 +193,6 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
199193
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
200194
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
201195
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
202-
github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII=
203196
github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY=
204197
github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ=
205198
github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI=
@@ -302,8 +295,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
302295
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
303296
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
304297
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
305-
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.6 h1:Tr7AlrQ+s1Nc9VOwB+It8sItnDOXhfXTxKqI2KtdyFA=
306-
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.6/go.mod h1:YBrRYc+5y5Pr9CXmY35lOqTQdlIjA4x4+3iVObXGOCE=
298+
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.9 h1:ntigNnXy4Ut6eVMfBUjQ5yoIZR5Rt419+pwfle4MO5c=
299+
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.9/go.mod h1:YBrRYc+5y5Pr9CXmY35lOqTQdlIjA4x4+3iVObXGOCE=
307300
github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk=
308301
github.com/tmccombs/hcl2json v0.6.4 h1:/FWnzS9JCuyZ4MNwrG4vMrFrzRgsWEOVi+1AyYUVLGw=
309302
github.com/tmccombs/hcl2json v0.6.4/go.mod h1:+ppKlIW3H5nsAsZddXPy2iMyvld3SHxyjswOZhavRDk=
@@ -516,10 +509,7 @@ gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8
516509
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
517510
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
518511
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
519-
gopkg.in/go-playground/assert.v1 v1.2.1 h1:xoYuJVE7KT85PYWrN730RguIQO0ePzVRfFMXadIrXTM=
520512
gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE=
521-
gopkg.in/go-playground/validator.v9 v9.30.0/go.mod h1:+c9/zcJMFNgbLvly1L1V+PpxWdVbfP1avr/N00E2vyQ=
522-
gopkg.in/go-playground/validator.v9 v9.31.0 h1:bmXmP2RSNtFES+bn4uYuHT7iJFJv7Vj+an+ZQdDaD1M=
523513
gopkg.in/go-playground/validator.v9 v9.31.0/go.mod h1:+c9/zcJMFNgbLvly1L1V+PpxWdVbfP1avr/N00E2vyQ=
524514
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
525515
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=

tests/other_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ func setupOptions(t *testing.T, prefix string, terraformDir string, ocpVersion s
3232
"access_tags": permanentResources["accessTags"],
3333
"ocp_entitlement": "cloud_pak",
3434
},
35+
CheckApplyResultForUpgrade: true,
3536
})
3637

3738
return options
@@ -167,6 +168,7 @@ func TestFSCloudInSchematic(t *testing.T) {
167168
Tags: []string{"test-schematic"},
168169
DeleteWorkspaceOnFail: false,
169170
WaitJobCompleteMinutes: 240,
171+
TerraformVersion: terraformVersion,
170172
})
171173

172174
// If "jp-osa" was the best region selected, default to us-south instead.

tests/pr_test.go

Lines changed: 43 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"strings"
99
"testing"
1010

11-
"github.com/IBM/go-sdk-core/core"
1211
"github.com/gruntwork-io/terratest/modules/files"
1312
"github.com/gruntwork-io/terratest/modules/logger"
1413
"github.com/gruntwork-io/terratest/modules/random"
@@ -32,10 +31,11 @@ const resourceGroup = "geretain-test-base-ocp-vpc"
3231
const yamlLocation = "../common-dev-assets/common-go-assets/common-permanent-resources.yaml"
3332

3433
// Ensure there is one test per supported OCP version
35-
const ocpVersion1 = "4.18" // used by TestRunFullyConfigurable, TestRunUpgradeFullyConfigurable, TestFSCloudInSchematic and TestRunMultiClusterExample
36-
const ocpVersion2 = "4.17" // used by TestCustomSGExample and TestRunCustomsgExample
37-
const ocpVersion3 = "4.16" // used by TestRunAdvancedExample and TestCrossKmsSupportExample
38-
const ocpVersion4 = "4.15" // used by TestRunAddRulesToSGExample and TestRunBasicExample
34+
const ocpVersion1 = "4.18" // used by TestRunFullyConfigurable, TestRunUpgradeFullyConfigurable, TestFSCloudInSchematic and TestRunMultiClusterExample
35+
const ocpVersion2 = "4.17" // used by TestCustomSGExample and TestRunCustomsgExample
36+
const ocpVersion3 = "4.16" // used by TestRunAdvancedExample and TestCrossKmsSupportExample
37+
const ocpVersion4 = "4.15" // used by TestRunAddRulesToSGExample and TestRunBasicExample
38+
const terraformVersion = "terraform_v1.10" // This should match the version in the ibm_catalog.json
3939

4040
var (
4141
sharedInfoSvc *cloudinfo.CloudInfoService
@@ -100,10 +100,12 @@ func setupQuickstartOptions(t *testing.T, prefix string) *testschematic.TestSche
100100
"*.tf",
101101
quickStartTerraformDir + "/*.tf", "scripts/*.sh", "kubeconfig/README.md",
102102
},
103-
TemplateFolder: quickStartTerraformDir,
104-
Tags: []string{"test-schematic"},
105-
DeleteWorkspaceOnFail: false,
106-
WaitJobCompleteMinutes: 360,
103+
TemplateFolder: quickStartTerraformDir,
104+
Tags: []string{"test-schematic"},
105+
DeleteWorkspaceOnFail: false,
106+
WaitJobCompleteMinutes: 360,
107+
TerraformVersion: terraformVersion,
108+
CheckApplyResultForUpgrade: true,
107109
})
108110
options.TerraformVars = []testschematic.TestSchematicTerraformVar{
109111
{Name: "ibmcloud_api_key", Value: options.RequiredEnvironmentVars["TF_VAR_ibmcloud_api_key"], DataType: "string", Secure: true},
@@ -141,6 +143,7 @@ func TestRunFullyConfigurableInSchematics(t *testing.T) {
141143
TemplateFolder: fullyConfigurableTerraformDir,
142144
Tags: []string{"test-schematic"},
143145
DeleteWorkspaceOnFail: false,
146+
TerraformVersion: terraformVersion,
144147
})
145148

146149
options.TerraformVars = []testschematic.TestSchematicTerraformVar{
@@ -171,12 +174,14 @@ func TestRunUpgradeFullyConfigurable(t *testing.T) {
171174
existingTerraformOptions := setupTerraform(t, prefix, "./existing-resources")
172175

173176
options := testschematic.TestSchematicOptionsDefault(&testschematic.TestSchematicOptions{
174-
Testing: t,
175-
Prefix: "fc-upg",
176-
TarIncludePatterns: []string{"*.tf", fullyConfigurableTerraformDir + "/*.*", fullyConfigurableTerraformDir + "/scripts/*.*", "scripts/*.sh", "kubeconfig/README.md", "modules/kube-audit/*.*", "modules/kube-audit/kubeconfig/README.md", "modules/kube-audit/scripts/*.sh", fullyConfigurableTerraformDir + "/kubeconfig/README.md", "modules/kube-audit/helm-charts/kube-audit/*.*", "modules/kube-audit/helm-charts/kube-audit/templates/*.*"},
177-
TemplateFolder: fullyConfigurableTerraformDir,
178-
Tags: []string{"test-schematic"},
179-
DeleteWorkspaceOnFail: false,
177+
Testing: t,
178+
Prefix: "fc-upg",
179+
TarIncludePatterns: []string{"*.tf", fullyConfigurableTerraformDir + "/*.*", fullyConfigurableTerraformDir + "/scripts/*.*", "scripts/*.sh", "kubeconfig/README.md", "modules/kube-audit/*.*", "modules/kube-audit/kubeconfig/README.md", "modules/kube-audit/scripts/*.sh", fullyConfigurableTerraformDir + "/kubeconfig/README.md", "modules/kube-audit/helm-charts/kube-audit/*.*", "modules/kube-audit/helm-charts/kube-audit/templates/*.*"},
180+
TemplateFolder: fullyConfigurableTerraformDir,
181+
Tags: []string{"test-schematic"},
182+
DeleteWorkspaceOnFail: false,
183+
TerraformVersion: terraformVersion,
184+
CheckApplyResultForUpgrade: true,
180185
})
181186

182187
options.IgnoreUpdates = testhelper.Exemptions{List: []string{"module.kube_audit[0].helm_release.kube_audit"}}
@@ -264,54 +269,40 @@ func TestRoksAddonDefaultConfiguration(t *testing.T) {
264269
"deploy-arch-ibm-slz-ocp",
265270
"fully-configurable",
266271
map[string]interface{}{
267-
"prefix": options.Prefix,
268-
"region": "eu-de",
269-
"secrets_manager_service_plan": "trial",
272+
"prefix": options.Prefix,
273+
"region": "eu-de",
270274
},
271275
)
272276

273-
/*
274-
Secrets manager is manually disabled in this test because it deploys Event notification
275-
and event notifications DA creates kms keys and during undeploy the order of key protect and event notifications
276-
is not considered by projects as EN is not a direct dependency of OCP DA. So undeploy fails, because
277-
key protect instance can't be deleted because of active keys created by EN. Hence for now, we don't want to deploy
278-
EN so SM is being disabled.
279-
Issue has been created for projects team. https://github.ibm.com/epx/projects/issues/4750
280-
Once that is fixed, we can remove the logic to disable SM
281-
*/
277+
// use existing secrets manager instance to help prevent hitting trial instance limit in account
282278
options.AddonConfig.Dependencies = []cloudinfo.AddonConfig{
283279
{
284280
OfferingName: "deploy-arch-ibm-secrets-manager",
285281
OfferingFlavor: "fully-configurable",
286-
Enabled: core.BoolPtr(false), // explicitly disabled
282+
Inputs: map[string]interface{}{
283+
"existing_secrets_manager_crn": permanentResources["privateOnlySecMgrCRN"],
284+
"service_plan": "__NULL__", // no plan value needed when using existing SM
285+
"skip_secrets_manager_iam_auth_policy": true, // since using an existing Secrets Manager instance, attempting to re-create auth policy can cause conflicts if the policy already exists
286+
"secret_groups": []string{}, // passing empty array for secret groups as default value is creating general group and it will cause conflicts as we are using an existing SM
287+
},
287288
},
288-
}
289-
290-
err := options.RunAddonTest()
291-
require.NoError(t, err)
292-
}
293-
294-
// TestDependencyPermutations runs dependency permutations for OCP and all its dependencies
295-
func TestRoksDependencyPermutations(t *testing.T) {
296-
297-
t.Skip("Skipping dependency permutations until the test is fixed")
298-
t.Parallel()
299-
300-
options := testaddons.TestAddonsOptionsDefault(&testaddons.TestAddonOptions{
301-
Testing: t,
302-
Prefix: "ocp-per",
303-
AddonConfig: cloudinfo.AddonConfig{
304-
OfferingName: "deploy-arch-ibm-slz-ocp",
289+
// // Disable target / route creation to help prevent hitting quota in account
290+
{
291+
OfferingName: "deploy-arch-ibm-cloud-monitoring",
305292
OfferingFlavor: "fully-configurable",
306293
Inputs: map[string]interface{}{
307-
"prefix": "ocp-per",
308-
"region": "eu-de",
309-
"secrets_manager_service_plan": "trial",
310-
"existing_cos_instance_crn": permanentResources["general_test_storage_cos_instance_crn"],
294+
"enable_metrics_routing_to_cloud_monitoring": false,
311295
},
312296
},
313-
})
297+
{
298+
OfferingName: "deploy-arch-ibm-activity-tracker",
299+
OfferingFlavor: "fully-configurable",
300+
Inputs: map[string]interface{}{
301+
"enable_activity_tracker_event_routing_to_cloud_logs": false,
302+
},
303+
},
304+
}
314305

315-
err := options.RunAddonPermutationTest()
316-
assert.NoError(t, err, "Dependency permutation test should not fail")
306+
err := options.RunAddonTest()
307+
require.NoError(t, err)
317308
}

0 commit comments

Comments
 (0)