mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Remove unneeded DBs
This commit is contained in:
parent
bde72dd86f
commit
ce35da5a3f
|
|
@ -23,7 +23,7 @@ type: Opaque
|
|||
|
||||
{{- $connectionString := print "postgresql://" .Values.configuration.database.user ":" .Values.configuration.database.password "@" .Values.configuration.database.host }}
|
||||
{{- if .Values.postgresql.enabled }}
|
||||
{{- $connectionString = print "postgresql://" .Values.postgresql.auth.username ":" .Values.postgresql.auth.password "@" .Chart.Name -}}
|
||||
{{- $connectionString = print "postgresql://" .Values.postgresql.auth.username ":" .Values.postgresql.auth.password "@" .Release.Name "-postgresql/dendrite" -}}
|
||||
{{ end }}
|
||||
---
|
||||
apiVersion: v1
|
||||
|
|
|
|||
|
|
@ -231,15 +231,6 @@ postgresql:
|
|||
password: changeme
|
||||
database: dendrite
|
||||
|
||||
initdbScripts:
|
||||
# -- Create databases when first creating a PostgreSQL Server
|
||||
# @default -- creates the required databases
|
||||
create_db.sh: |
|
||||
#!/bin/sh
|
||||
for db in userapi_accounts userapi_devices mediaapi syncapi roomserver keyserver federationapi mscs; do
|
||||
createdb -U dendrite -O dendrite dendrite_$db
|
||||
done
|
||||
|
||||
persistence:
|
||||
enabled: false
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue