Skip to content

Commit

Permalink
chore(rename): update references after repo rename (#918)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Jul 15, 2024
1 parent 54ca044 commit c7ccef4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -934,11 +934,11 @@ func NewCoreContainer(cr *model.CryostatInstance, specs *ServiceSpecs, imageTag
},
{
Name: "QUARKUS_DATASOURCE_USERNAME",
Value: "cryostat3",
Value: "cryostat",
},
{
Name: "QUARKUS_DATASOURCE_JDBC_URL",
Value: "jdbc:postgresql://localhost:5432/cryostat3",
Value: "jdbc:postgresql://localhost:5432/cryostat",
},
{
Name: "STORAGE_BUCKETS_ARCHIVE_NAME",
Expand Down Expand Up @@ -1393,11 +1393,11 @@ func newDatabaseContainer(cr *model.CryostatInstance, imageTag string, tls *TLSC
envs := []corev1.EnvVar{
{
Name: "POSTGRESQL_USER",
Value: "cryostat3",
Value: "cryostat",
},
{
Name: "POSTGRESQL_DATABASE",
Value: "cryostat3",
Value: "cryostat",
},
}

Expand Down Expand Up @@ -1452,7 +1452,7 @@ func newDatabaseContainer(cr *model.CryostatInstance, imageTag string, tls *TLSC
ReadinessProbe: &corev1.Probe{
ProbeHandler: corev1.ProbeHandler{
Exec: &corev1.ExecAction{
Command: []string{"pg_isready", "-U", "cryostat3", "-d", "cryostat3"},
Command: []string{"pg_isready", "-U", "cryostat", "-d", "cryostat"},
},
},
},
Expand Down
10 changes: 5 additions & 5 deletions internal/test/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -1232,11 +1232,11 @@ func (r *TestResources) NewCoreEnvironmentVariables(reportsUrl string, ingress b
},
{
Name: "QUARKUS_DATASOURCE_USERNAME",
Value: "cryostat3",
Value: "cryostat",
},
{
Name: "QUARKUS_DATASOURCE_JDBC_URL",
Value: "jdbc:postgresql://localhost:5432/cryostat3",
Value: "jdbc:postgresql://localhost:5432/cryostat",
},
{
Name: "STORAGE_BUCKETS_ARCHIVE_NAME",
Expand Down Expand Up @@ -1497,11 +1497,11 @@ func (r *TestResources) NewDatabaseEnvironmentVariables(dbSecretProvided bool) [
return []corev1.EnvVar{
{
Name: "POSTGRESQL_USER",
Value: "cryostat3",
Value: "cryostat",
},
{
Name: "POSTGRESQL_DATABASE",
Value: "cryostat3",
Value: "cryostat",
},
{
Name: "POSTGRESQL_PASSWORD",
Expand Down Expand Up @@ -1915,7 +1915,7 @@ func (r *TestResources) NewDatabaseReadinessProbe() *corev1.Probe {
return &corev1.Probe{
ProbeHandler: corev1.ProbeHandler{
Exec: &corev1.ExecAction{
Command: []string{"pg_isready", "-U", "cryostat3", "-d", "cryostat3"},
Command: []string{"pg_isready", "-U", "cryostat", "-d", "cryostat"},
},
},
}
Expand Down

0 comments on commit c7ccef4

Please sign in to comment.