Skip to content

Commit de83b74

Browse files
committed
fixes
1 parent 206871e commit de83b74

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

automation/util/builders.go

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,16 @@ func NewMongoProvisioningSetupTypes() *SetupTypes {
216216
Spec: ndbv1alpha1.DatabaseSpec{
217217
NDBRef: "ndb-mongo",
218218
Instance: &ndbv1alpha1.Instance{
219-
Name: "db-mongo-si",
220-
Type: common.DATABASE_TYPE_MONGODB,
221-
DatabaseNames: []string{"database_one"},
222-
CredentialSecret: "db-secret-mongo-si",
223-
Size: 10,
224-
TimeZone: common.TIMEZONE_UTC,
219+
Name: "db-mongo-si",
220+
Type: common.DATABASE_TYPE_MONGODB,
221+
DatabaseNames: []string{"database_one"},
222+
CredentialSecret: "db-secret-mongo-si",
223+
Size: 10,
224+
TimeZone: common.TIMEZONE_UTC,
225+
Profiles: &ndbv1alpha1.Profiles{
226+
Software: ndbv1alpha1.Profile{Name: "MONGODB_12debian_NDBoperator"},
227+
Network: ndbv1alpha1.Profile{Name: "DEFAULT_OOB_MONGODB_NETWORK"},
228+
},
225229
TMInfo: defaultTMInfo("db-mongo-si_TM"),
226230
AdditionalArguments: map[string]string{},
227231
},
@@ -288,6 +292,7 @@ func NewMSSQLProvisioningSetupTypes() *SetupTypes {
288292
Size: 10,
289293
TimeZone: common.TIMEZONE_UTC,
290294
Profiles: &ndbv1alpha1.Profiles{
295+
Software: ndbv1alpha1.Profile{Name: "MSSQL-4-NDBOperator"},
291296
DbParam: ndbv1alpha1.Profile{Name: "DEFAULT_SQLSERVER_DATABASE_PARAMS"},
292297
DbParamInstance: ndbv1alpha1.Profile{Name: "DEFAULT_SQLSERVER_INSTANCE_PARAMS"},
293298
},

0 commit comments

Comments
 (0)