Document why we don't use 'passfile' and have the Postgres password as a file

This commit is contained in:
Ben Banfield-Zanin committed 2025-11-20 16:52:22 +00:00
1 parent 270b694855
commit bc7a37005d
3 files changed
+5

No files matched your search

@@ -37,6 +37,8 @@ http:
database:
{{- /* We don't attempt to use passfile and mount the Secret directly due to
https://github.com/kubernetes/kubernetes/issues/129043 / https://github.com/kubernetes/kubernetes/issues/81089 */}}
{{- if .postgres }}
{{- with .postgres }}
uri: "postgresql://{{ .user }}:${POSTGRES_PASSWORD}@{{ tpl .host $root }}:{{ .port }}/{{ .database }}?{{ with .sslMode }}sslmode={{ . }}&{{ end }}application_name=matrix-authentication-service"
@@ -43,6 +43,8 @@ registration_shared_secret_path: /secrets/{{
database:
name: psycopg2
args:
{{- /* We don't attempt to use passfile and mount the Secret directly due to
https://github.com/kubernetes/kubernetes/issues/129043 / https://github.com/kubernetes/kubernetes/issues/81089 */}}
{{- if .postgres }}
user: {{ .postgres.user }}
password: ${SYNAPSE_POSTGRES_PASSWORD}
+1
View File
@@ -0,0 +1 @@
Document why we don't use `passfile` for Synapse & MAS' Postgres configuration.