mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-29 21:33:05 -08:00
Document why we don't use 'passfile' and have the Postgres password as a file
This commit is contained in:
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}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Document why we don't use `passfile` for Synapse & MAS' Postgres configuration.
|
||||
Reference in new issue
Block a user