mirror of
https://github.com/GothenburgBitFactory/taskchampion-sync-server.git
synced 2026-07-16 16:35:41 +00:00
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" -}}
|
{{- if ne $port "5432" -}}
|
||||||
{{- $uri = printf "%s:%s" $uri $port -}}
|
{{- $uri = printf "%s:%s" $uri $port -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if ne $database "taskchampion" -}}
|
|
||||||
{{- $uri = printf "%s/%s" $uri $database -}}
|
{{- $uri = printf "%s/%s" $uri $database -}}
|
||||||
|
{{- if .Values.postgres.sslMode -}}
|
||||||
|
{{- $uri = printf "%s?sslmode=%s" $uri .Values.postgres.sslMode -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $uri -}}
|
{{- $uri -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@ -95,6 +95,10 @@ postgres:
|
|||||||
port: 5432
|
port: 5432
|
||||||
username: user
|
username: user
|
||||||
password: ""
|
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:
|
initContainer:
|
||||||
enabled: true
|
enabled: true
|
||||||
image: postgres:15-alpine
|
image: postgres:15-alpine
|
||||||
|
|||||||
Reference in New Issue
Block a user