pipeline #5
@@ -63,8 +63,8 @@ Create the name of the service account to use
|
||||
PostgreSQL connection string
|
||||
*/}}
|
||||
{{- define "warehouse13.postgresUrl" -}}
|
||||
{{- if .Values.api.env.databaseUrl }}
|
||||
{{- .Values.api.env.databaseUrl }}
|
||||
{{- if .Values.app.env.databaseUrl }}
|
||||
{{- .Values.app.env.databaseUrl }}
|
||||
{{- else }}
|
||||
{{- printf "postgresql://%s:%s@warehouse13-postgres:%d/%s" .Values.postgres.auth.username .Values.postgres.auth.password (.Values.postgres.service.port | int) .Values.postgres.auth.database }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user