pipeline #5
@@ -63,8 +63,8 @@ Create the name of the service account to use
|
|||||||
PostgreSQL connection string
|
PostgreSQL connection string
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "warehouse13.postgresUrl" -}}
|
{{- define "warehouse13.postgresUrl" -}}
|
||||||
{{- if .Values.api.env.databaseUrl }}
|
{{- if .Values.app.env.databaseUrl }}
|
||||||
{{- .Values.api.env.databaseUrl }}
|
{{- .Values.app.env.databaseUrl }}
|
||||||
{{- else }}
|
{{- 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 }}
|
{{- 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 }}
|
{{- end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user