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) }}
|
||||
{{- 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 }}
|
||||
apiVersion: apps/v1
|
||||
|
|
|
@ -485,6 +485,9 @@ wellknown:
|
|||
postgresql:
|
||||
enabled: true
|
||||
|
||||
# XXX Change me!
|
||||
postgresqlPassword: synapse
|
||||
|
||||
postgresqlUsername: synapse
|
||||
postgresqlDatabase: synapse
|
||||
|
||||
|
@ -511,8 +514,10 @@ externalPostgresql:
|
|||
redis:
|
||||
enabled: true
|
||||
|
||||
# usePassword: false
|
||||
# password: synapse
|
||||
# XXX Change me!
|
||||
usePassword: true
|
||||
password: synapse
|
||||
|
||||
cluster:
|
||||
enabled: false
|
||||
master:
|
||||
|
|
Loading…
Reference in a new issue