Skip to content

Commit

Permalink
K10-20312: add configs ref apps for OCP 4.14 (#2564)
Browse files Browse the repository at this point in the history
https://kasten.atlassian.net/browse/K10-20312

Co-authored-by: Vladislav Naumov <vladislav.naumov@PRG10457-MacBook-Pro.local>
Co-authored-by: Pavan Navarathna <6504783+pavannd1@users.noreply.github.com>
  • Loading branch information
3 people committed Jan 2, 2024
1 parent ab2c446 commit e77bfc4
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/app/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ const (
TemplateVersionOCP4_12 DBTemplate = "release-4.12"
// TemplateVersionOCP4_13 stores version of db template 4.13
TemplateVersionOCP4_13 DBTemplate = "release-4.13"
// TemplateVersionOCP4_14 stores version of db template 4.14
TemplateVersionOCP4_14 DBTemplate = "release-4.14"
)

type storage string
Expand Down
30 changes: 30 additions & 0 deletions pkg/testing/integration_register.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,3 +550,33 @@ var _ = Suite(&PostgreSQLDepConfig4_13{
profile: newSecretProfile(),
},
})

// MysqlDBDepConfig4_14 for Mysql Instance that is deployed through DeploymentConfig on OpenShift cluster
type MysqlDBDepConfig4_14 struct {
IntegrationSuite
}

var _ = Suite(&MysqlDBDepConfig4_14{
IntegrationSuite{
name: "mysqldc",
namespace: "mysqldc4-14-test",
app: app.NewMysqlDepConfig("mysqldeploymentconfig", app.TemplateVersionOCP4_14, app.EphemeralStorage, "8.0"),
bp: app.NewBlueprint("mysql-dep-config", "", true),
profile: newSecretProfile(),
},
})

// PostgreSQLDepConfig4_14 for PostgreSQL deployed on openshift cluster
type PostgreSQLDepConfig4_14 struct {
IntegrationSuite
}

var _ = Suite(&PostgreSQLDepConfig4_14{
IntegrationSuite{
name: "postgresdepconf",
namespace: "postgresdepconf4-14-test",
app: app.NewPostgreSQLDepConfig("postgresdepconf", app.TemplateVersionOCP4_14, app.EphemeralStorage),
bp: app.NewBlueprint("postgres-dep-config", "", true),
profile: newSecretProfile(),
},
})

0 comments on commit e77bfc4

Please sign in to comment.