forked from github-mirrorer/taskchampion-sync-server
Fixing Postgres connection issue
This commit is contained in:
committed by
Dustin J. Mitchell
parent
79d54cae5d
commit
ef98290f37
@ -82,8 +82,9 @@ app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- if ne $port "5432" -}}
|
||||
{{- $uri = printf "%s:%s" $uri $port -}}
|
||||
{{- end -}}
|
||||
{{- if ne $database "taskchampion" -}}
|
||||
{{- $uri = printf "%s/%s" $uri $database -}}
|
||||
{{- if .Values.postgres.sslMode -}}
|
||||
{{- $uri = printf "%s?sslmode=%s" $uri .Values.postgres.sslMode -}}
|
||||
{{- end -}}
|
||||
{{- $uri -}}
|
||||
{{- end -}}
|
||||
|
||||
@ -95,6 +95,10 @@ postgres:
|
||||
port: 5432
|
||||
username: user
|
||||
password: ""
|
||||
# SSL mode for the PostgreSQL connection.
|
||||
# Use 'disable' for internal cluster connections (no TLS).
|
||||
# Options: disable, allow, prefer, require, verify-ca, verify-full
|
||||
sslMode: disable
|
||||
initContainer:
|
||||
enabled: true
|
||||
image: postgres:15-alpine
|
||||
|
||||
Reference in New Issue
Block a user