Add ssl require to postgresqlurl

This commit is contained in:
Ruben Hensen
2026-01-27 12:29:47 +01:00
parent d5de82eb9c
commit 29b807ca05
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -56,5 +56,5 @@ PostgreSQL connection URL base (without table name)
{{- $host := printf "%s-postgres-rw.%s.svc.cluster.local" (include "sogo.fullname" .) .Release.Namespace -}}
{{- $port := "5432" -}}
{{- $db := .Values.postgresql.database -}}
{{- printf "postgresql://%s:${POSTGRES_PASSWORD}@%s:%s/%s" $user $host $port $db -}}
{{- printf "postgresql://%s:${POSTGRES_PASSWORD}@%s:%s/%s?sslmode=require" $user $host $port $db -}}
{{- end }}