Skip to content

Commit c54bfb1

Browse files
committed
pgbouncer fixes
1 parent ed3c58f commit c54bfb1

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

charts/synapse/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
name: synapse
3-
version: 0.43.0
3+
version: 0.43.1

charts/synapse/templates/pgbouncer-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
data:
88
pgbouncer.ini: |
99
[databases]
10-
synapse=host={{ .Values.synapse.postgres.host }} port=5432 dbname={{ .Values.synapse.postgres.dbname }}
10+
{{ .Values.synapse.postgres.dbname }}=host={{ .Values.synapse.postgres.host }} port=5432 dbname={{ .Values.synapse.postgres.dbname }}
1111
[pgbouncer]
1212
listen_port=5432
1313
listen_addr=0.0.0.0

charts/synapse/templates/pgbouncer-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ spec:
1616
{{- end }}
1717
template:
1818
metadata:
19+
annotations:
20+
checksum/config: {{ include (print $.Template.BasePath "/pgbouncer-configmap.yaml") $ | sha256sum }}
21+
checksum/secret: {{ include (print $.Template.BasePath "/pgbouncer-secret.yaml") $ | sha256sum }}
1922
labels:
2023
app: synapse-pgbouncer
2124
spec:

0 commit comments

Comments
 (0)