Skip to content

Commit

Permalink
Merge pull request #1450 from noobaa/guymguym-fix-432
Browse files Browse the repository at this point in the history
  • Loading branch information
guymguym authored Sep 30, 2024
2 parents 7611fca + 822cd32 commit d993129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/system/phase2_creating.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ func (r *Reconciler) setDesiredCoreEnv(c *corev1.Container) {

case "POSTGRES_HOST":
if r.NooBaa.Spec.ExternalPgSecret == nil {
c.Env[j].Value = r.NooBaaPostgresDB.Name + "-0." + r.NooBaaPostgresDB.Spec.ServiceName
c.Env[j].Value = r.NooBaaPostgresDB.Name + "-0." + r.NooBaaPostgresDB.Spec.ServiceName + "." + r.NooBaaPostgresDB.Namespace + ".svc"
}

case "DB_TYPE":
Expand Down

0 comments on commit d993129

Please sign in to comment.