matrix-synapse: Check for redis/postgres password
This commit is contained in:
parent
9e17014fe0
commit
ed1fe25d80
2 changed files with 13 additions and 2 deletions
|
@ -1,4 +1,10 @@
|
||||||
{{- $needsVolumePermissions := and .Values.volumePermissions.enabled (or .Values.persistence.enabled .Values.persistence.existingClaim) }}
|
{{- $needsVolumePermissions := and .Values.volumePermissions.enabled (or .Values.persistence.enabled .Values.persistence.existingClaim) }}
|
||||||
|
{{- if (and .Values.postgresql.enabled (not .Values.postgresql.postgresqlPassword)) -}}
|
||||||
|
{{- fail "You must specify a static postgres password if using the included postgres chart" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if (and .Values.redis.enabled (and .Values.redis.usePassword (not .Values.redis.password))) -}}
|
||||||
|
{{- fail "You must specify a static redis password if using the included redis chart" -}}
|
||||||
|
{{- end -}}
|
||||||
---
|
---
|
||||||
# Server: {{ required "A valid serverName is required" .Values.serverName }}
|
# Server: {{ required "A valid serverName is required" .Values.serverName }}
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
|
|
@ -485,6 +485,9 @@ wellknown:
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
# XXX Change me!
|
||||||
|
postgresqlPassword: synapse
|
||||||
|
|
||||||
postgresqlUsername: synapse
|
postgresqlUsername: synapse
|
||||||
postgresqlDatabase: synapse
|
postgresqlDatabase: synapse
|
||||||
|
|
||||||
|
@ -511,8 +514,10 @@ externalPostgresql:
|
||||||
redis:
|
redis:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
# usePassword: false
|
# XXX Change me!
|
||||||
# password: synapse
|
usePassword: true
|
||||||
|
password: synapse
|
||||||
|
|
||||||
cluster:
|
cluster:
|
||||||
enabled: false
|
enabled: false
|
||||||
master:
|
master:
|
||||||
|
|
Loading…
Reference in a new issue