mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[dendrite] Per-component database settings (#1581)
* [dendrite] Allow per-component database configuration Enable database configuration to be provided on a per-api level. If not manually configured/specified, default to the global settings. Backward compatibility with current configuration logic kept. Signed-off-by: Omar Pakker <Omar007@users.noreply.github.com> * [dendrite] CI fix & dendrite update (v0.8.7) - Fix syncapi tag pinning (actually default to chart.appVersion as documented) - Change registration_disabled default value from false to true (see config failure CI runs) - Add report_stats properties - Add bcrypt_cost config property for userapi - Major bump due to default change Co-authored-by: Jonathan Bartlett <34320158+Jonnobrow@users.noreply.github.com> Co-authored-by: Truxnell <19149206+Truxnell@users.noreply.github.com> Signed-off-by: Omar Pakker <Omar007@users.noreply.github.com> Co-authored-by: Jonathan Bartlett <jonathan@jonnobrow.co.uk> Co-authored-by: Jonathan Bartlett <34320158+Jonnobrow@users.noreply.github.com> Co-authored-by: Truxnell <19149206+Truxnell@users.noreply.github.com>
This commit is contained in:
parent
e39cc70589
commit
22ec029d47
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: v0.8.1
|
appVersion: v0.8.7
|
||||||
description: Dendrite Matrix Homeserver
|
description: Dendrite Matrix Homeserver
|
||||||
name: dendrite
|
name: dendrite
|
||||||
version: 4.2.2
|
version: 5.0.0
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- dendrite
|
- dendrite
|
||||||
@ -82,20 +82,10 @@ dependencies:
|
|||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |-
|
artifacthub.io/changes: |-
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Upgraded `common` chart dependency to version 4.4.2
|
description: Enable database configuration on a per-API (component) level
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Upgraded `common` chart dependency to version 4.4.2 for alias 'clientapi'
|
description: Bump dendrite to v0.8.7
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Upgraded `common` chart dependency to version 4.4.2 for alias 'mediaapi'
|
description: Set client api registration to disabled by default
|
||||||
- kind: changed
|
- kind: fixed
|
||||||
description: Upgraded `common` chart dependency to version 4.4.2 for alias 'syncapi'
|
description: Fix syncapi version pinning
|
||||||
- kind: changed
|
|
||||||
description: Upgraded `common` chart dependency to version 4.4.2 for alias 'roomserver'
|
|
||||||
- kind: changed
|
|
||||||
description: Upgraded `common` chart dependency to version 4.4.2 for alias 'federationapi'
|
|
||||||
- kind: changed
|
|
||||||
description: Upgraded `common` chart dependency to version 4.4.2 for alias 'keyserver'
|
|
||||||
- kind: changed
|
|
||||||
description: Upgraded `common` chart dependency to version 4.4.2 for alias 'userapi'
|
|
||||||
- kind: changed
|
|
||||||
description: Upgraded `common` chart dependency to version 4.4.2 for alias 'appserviceapi'
|
|
||||||
|
@ -22,6 +22,9 @@ stringData:
|
|||||||
presence:
|
presence:
|
||||||
enable_inbound: {{ default false .Values.dendrite.global.presence.enable_inbound}}
|
enable_inbound: {{ default false .Values.dendrite.global.presence.enable_inbound}}
|
||||||
enable_outbound: {{ default false .Values.dendrite.global.presence.enable_outbound }}
|
enable_outbound: {{ default false .Values.dendrite.global.presence.enable_outbound }}
|
||||||
|
report_stats:
|
||||||
|
enabled: {{ default false .Values.dendrite.report_stats.enabled }}
|
||||||
|
endpoint: {{ default "https://matrix.org/report-usage-stats/push" .Values.dendrite.report_stats.endpoint }}
|
||||||
server_notices:
|
server_notices:
|
||||||
enabled: {{ default false .Values.dendrite.global.server_notices.enabled }}
|
enabled: {{ default false .Values.dendrite.global.server_notices.enabled }}
|
||||||
local_part: {{ default "_server" .Values.dendrite.global.server_notices.local_part | quote }}
|
local_part: {{ default "_server" .Values.dendrite.global.server_notices.local_part | quote }}
|
||||||
@ -52,10 +55,10 @@ stringData:
|
|||||||
listen: http://0.0.0.0:{{ .Values.appserviceapi.service.main.ports.internal.port }}
|
listen: http://0.0.0.0:{{ .Values.appserviceapi.service.main.ports.internal.port }}
|
||||||
connect: http://{{ include "common.names.fullname" . }}-appserviceapi:{{ .Values.appserviceapi.service.main.ports.internal.port }}
|
connect: http://{{ include "common.names.fullname" . }}-appserviceapi:{{ .Values.appserviceapi.service.main.ports.internal.port }}
|
||||||
database:
|
database:
|
||||||
connection_string: {{ $connectionString }}dendrite_appservice?sslmode=disable
|
connection_string: {{ default (print $connectionString "dendrite_appservice?sslmode=disable") .Values.appserviceapi.database.connection_string }}
|
||||||
max_open_conns: {{ .Values.dendrite.database.max_open_conns }}
|
max_open_conns: {{ default .Values.dendrite.database.max_open_conns .Values.appserviceapi.database.max_open_conns }}
|
||||||
max_idle_conns: {{ .Values.dendrite.database.max_idle_conns }}
|
max_idle_conns: {{ default .Values.dendrite.database.max_idle_conns .Values.appserviceapi.database.max_idle_conns }}
|
||||||
conn_max_lifetime: {{ .Values.dendrite.database.conn_max_lifetime }}
|
conn_max_lifetime: {{ default .Values.dendrite.database.conn_max_lifetime .Values.appserviceapi.database.conn_max_lifetime }}
|
||||||
config_files: {{- toYaml .Values.appserviceapi.config.config_files | nindent 8 }}
|
config_files: {{- toYaml .Values.appserviceapi.config.config_files | nindent 8 }}
|
||||||
client_api:
|
client_api:
|
||||||
internal_api:
|
internal_api:
|
||||||
@ -63,7 +66,7 @@ stringData:
|
|||||||
connect: http://{{ include "common.names.fullname" . }}-clientapi:{{ .Values.clientapi.service.main.ports.internal.port }}
|
connect: http://{{ include "common.names.fullname" . }}-clientapi:{{ .Values.clientapi.service.main.ports.internal.port }}
|
||||||
external_api:
|
external_api:
|
||||||
listen: http://0.0.0.0:{{ .Values.clientapi.service.main.ports.external.port }}
|
listen: http://0.0.0.0:{{ .Values.clientapi.service.main.ports.external.port }}
|
||||||
registration_disabled: {{ default false .Values.clientapi.config.registration_disabled }}
|
registration_disabled: {{ default true .Values.clientapi.config.registration_disabled }}
|
||||||
registration_shared_secret: {{ default "" .Values.clientapi.config.registration_shared_secret | quote }}
|
registration_shared_secret: {{ default "" .Values.clientapi.config.registration_shared_secret | quote }}
|
||||||
enable_registration_captcha: {{ default false .Values.clientapi.config.captcha.enabled }}
|
enable_registration_captcha: {{ default false .Values.clientapi.config.captcha.enabled }}
|
||||||
recaptcha_public_key: {{ default "" .Values.clientapi.config.captcha.recaptcha_public_key | quote }}
|
recaptcha_public_key: {{ default "" .Values.clientapi.config.captcha.recaptcha_public_key | quote }}
|
||||||
@ -82,10 +85,10 @@ stringData:
|
|||||||
external_api:
|
external_api:
|
||||||
listen: http://0.0.0.0:8072
|
listen: http://0.0.0.0:8072
|
||||||
database:
|
database:
|
||||||
connection_string: {{ $connectionString }}dendrite_federationapi?sslmode=disable
|
connection_string: {{ default (print $connectionString "dendrite_federationapi?sslmode=disable") .Values.federationapi.database.connection_string }}
|
||||||
max_open_conns: {{ .Values.dendrite.database.max_open_conns }}
|
max_open_conns: {{ default .Values.dendrite.database.max_open_conns .Values.federationapi.database.max_open_conns }}
|
||||||
max_idle_conns: {{ .Values.dendrite.database.max_idle_conns }}
|
max_idle_conns: {{ default .Values.dendrite.database.max_idle_conns .Values.federationapi.database.max_idle_conns }}
|
||||||
conn_max_lifetime: {{ .Values.dendrite.database.conn_max_lifetime }}
|
conn_max_lifetime: {{ default .Values.dendrite.database.conn_max_lifetime .Values.federationapi.database.conn_max_lifetime }}
|
||||||
federation_certificates: {{- toYaml .Values.federationapi.config.federation_certificates | nindent 8 }}
|
federation_certificates: {{- toYaml .Values.federationapi.config.federation_certificates | nindent 8 }}
|
||||||
send_max_retries: {{ default 16 .Values.federationapi.config.send_max_retries }}
|
send_max_retries: {{ default 16 .Values.federationapi.config.send_max_retries }}
|
||||||
disable_tls_validation: {{ default false .Values.federationapi.config.disable_tls_validation }}
|
disable_tls_validation: {{ default false .Values.federationapi.config.disable_tls_validation }}
|
||||||
@ -101,10 +104,10 @@ stringData:
|
|||||||
listen: http://0.0.0.0:7779
|
listen: http://0.0.0.0:7779
|
||||||
connect: http://{{ include "common.names.fullname" . }}-keyserver:7779
|
connect: http://{{ include "common.names.fullname" . }}-keyserver:7779
|
||||||
database:
|
database:
|
||||||
connection_string: {{ $connectionString }}dendrite_keyserver?sslmode=disable
|
connection_string: {{ default (print $connectionString "dendrite_keyserver?sslmode=disable") .Values.keyserver.database.connection_string }}
|
||||||
max_open_conns: {{ .Values.dendrite.database.max_open_conns }}
|
max_open_conns: {{ default .Values.dendrite.database.max_open_conns .Values.keyserver.database.max_open_conns }}
|
||||||
max_idle_conns: {{ .Values.dendrite.database.max_idle_conns }}
|
max_idle_conns: {{ default .Values.dendrite.database.max_idle_conns .Values.keyserver.database.max_idle_conns }}
|
||||||
conn_max_lifetime: {{ .Values.dendrite.database.conn_max_lifetime }}
|
conn_max_lifetime: {{ default .Values.dendrite.database.conn_max_lifetime .Values.keyserver.database.conn_max_lifetime }}
|
||||||
media_api:
|
media_api:
|
||||||
internal_api:
|
internal_api:
|
||||||
listen: http://0.0.0.0:7774
|
listen: http://0.0.0.0:7774
|
||||||
@ -112,10 +115,10 @@ stringData:
|
|||||||
external_api:
|
external_api:
|
||||||
listen: http://0.0.0.0:8074
|
listen: http://0.0.0.0:8074
|
||||||
database:
|
database:
|
||||||
connection_string: {{ $connectionString }}dendrite_mediaapi?sslmode=disable
|
connection_string: {{ default (print $connectionString "dendrite_mediaapi?sslmode=disable") .Values.mediaapi.database.connection_string }}
|
||||||
max_open_conns: {{ .Values.dendrite.database.max_open_conns }}
|
max_open_conns: {{ default .Values.dendrite.database.max_open_conns .Values.mediaapi.database.max_open_conns }}
|
||||||
max_idle_conns: {{ .Values.dendrite.database.max_idle_conns }}
|
max_idle_conns: {{ default .Values.dendrite.database.max_idle_conns .Values.mediaapi.database.max_idle_conns }}
|
||||||
conn_max_lifetime: {{ .Values.dendrite.database.conn_max_lifetime }}
|
conn_max_lifetime: {{ default .Values.dendrite.database.conn_max_lifetime .Values.mediaapi.database.conn_max_lifetime }}
|
||||||
base_path: {{ default "/var/dendrite/media" .Values.mediaapi.config.base_path | quote }}
|
base_path: {{ default "/var/dendrite/media" .Values.mediaapi.config.base_path | quote }}
|
||||||
max_file_size_bytes: {{ int ( default 10485760 .Values.mediaapi.config.max_file_size_bytes ) }}
|
max_file_size_bytes: {{ int ( default 10485760 .Values.mediaapi.config.max_file_size_bytes ) }}
|
||||||
dynamic_thumbnails: {{ default false .Values.mediaapi.config.dynamic_thumbnails }}
|
dynamic_thumbnails: {{ default false .Values.mediaapi.config.dynamic_thumbnails }}
|
||||||
@ -124,19 +127,19 @@ stringData:
|
|||||||
mscs:
|
mscs:
|
||||||
mscs: {{ .Values.dendrite.global.mscs | toYaml | nindent 8 }}
|
mscs: {{ .Values.dendrite.global.mscs | toYaml | nindent 8 }}
|
||||||
database:
|
database:
|
||||||
connection_string: {{ $connectionString }}dendrite_mscs?sslmode=disable
|
connection_string: {{ default (print $connectionString "dendrite_mscs?sslmode=disable") .Values.mscs.database.connection_string }}
|
||||||
max_open_conns: {{ .Values.dendrite.database.max_open_conns }}
|
max_open_conns: {{ default .Values.dendrite.database.max_open_conns .Values.mscs.database.max_open_conns }}
|
||||||
max_idle_conns: {{ .Values.dendrite.database.max_idle_conns }}
|
max_idle_conns: {{ default .Values.dendrite.database.max_idle_conns .Values.mscs.database.max_idle_conns }}
|
||||||
conn_max_lifetime: {{ .Values.dendrite.database.conn_max_lifetime }}
|
conn_max_lifetime: {{ default .Values.dendrite.database.conn_max_lifetime .Values.mscs.database.conn_max_lifetime }}
|
||||||
room_server:
|
room_server:
|
||||||
internal_api:
|
internal_api:
|
||||||
listen: http://0.0.0.0:7770
|
listen: http://0.0.0.0:7770
|
||||||
connect: http://{{ include "common.names.fullname" . }}-roomserver:7770
|
connect: http://{{ include "common.names.fullname" . }}-roomserver:7770
|
||||||
database:
|
database:
|
||||||
connection_string: {{ $connectionString }}dendrite_roomserver?sslmode=disable
|
connection_string: {{ default (print $connectionString "dendrite_roomserver?sslmode=disable") .Values.roomserver.database.connection_string }}
|
||||||
max_open_conns: {{ .Values.dendrite.database.max_open_conns }}
|
max_open_conns: {{ default .Values.dendrite.database.max_open_conns .Values.roomserver.database.max_open_conns }}
|
||||||
max_idle_conns: {{ .Values.dendrite.database.max_idle_conns }}
|
max_idle_conns: {{ default .Values.dendrite.database.max_idle_conns .Values.roomserver.database.max_idle_conns }}
|
||||||
conn_max_lifetime: {{ .Values.dendrite.database.conn_max_lifetime }}
|
conn_max_lifetime: {{ default .Values.dendrite.database.conn_max_lifetime .Values.roomserver.database.conn_max_lifetime }}
|
||||||
sync_api:
|
sync_api:
|
||||||
internal_api:
|
internal_api:
|
||||||
listen: http://0.0.0.0:7773
|
listen: http://0.0.0.0:7773
|
||||||
@ -144,19 +147,20 @@ stringData:
|
|||||||
external_api:
|
external_api:
|
||||||
listen: http://0.0.0.0:8073
|
listen: http://0.0.0.0:8073
|
||||||
database:
|
database:
|
||||||
connection_string: {{ $connectionString }}dendrite_syncapi?sslmode=disable
|
connection_string: {{ default (print $connectionString "dendrite_syncapi?sslmode=disable") .Values.syncapi.database.connection_string }}
|
||||||
max_open_conns: {{ .Values.dendrite.database.max_open_conns }}
|
max_open_conns: {{ default .Values.dendrite.database.max_open_conns .Values.syncapi.database.max_open_conns }}
|
||||||
max_idle_conns: {{ .Values.dendrite.database.max_idle_conns }}
|
max_idle_conns: {{ default .Values.dendrite.database.max_idle_conns .Values.syncapi.database.max_idle_conns }}
|
||||||
conn_max_lifetime: {{ .Values.dendrite.database.conn_max_lifetime }}
|
conn_max_lifetime: {{ default .Values.dendrite.database.conn_max_lifetime .Values.syncapi.database.conn_max_lifetime }}
|
||||||
user_api:
|
user_api:
|
||||||
internal_api:
|
internal_api:
|
||||||
listen: http://0.0.0.0:7781
|
listen: http://0.0.0.0:7781
|
||||||
connect: http://{{ include "common.names.fullname" . }}-userapi:7781
|
connect: http://{{ include "common.names.fullname" . }}-userapi:7781
|
||||||
account_database:
|
account_database:
|
||||||
connection_string: {{ $connectionString }}dendrite_userapi_accounts?sslmode=disable
|
connection_string: {{ default (print $connectionString "dendrite_userapi_accounts?sslmode=disable") .Values.userapi.database.connection_string }}
|
||||||
max_open_conns: {{ .Values.dendrite.database.max_open_conns }}
|
max_open_conns: {{ default .Values.dendrite.database.max_open_conns .Values.userapi.database.max_open_conns }}
|
||||||
max_idle_conns: {{ .Values.dendrite.database.max_idle_conns }}
|
max_idle_conns: {{ default .Values.dendrite.database.max_idle_conns .Values.userapi.database.max_idle_conns }}
|
||||||
conn_max_lifetime: {{ .Values.dendrite.database.conn_max_lifetime }}
|
conn_max_lifetime: {{ default .Values.dendrite.database.conn_max_lifetime .Values.userapi.database.conn_max_lifetime }}
|
||||||
|
bcrypt_cost: {{ default 10 .Values.userapi.config.bcrypt_cost }}
|
||||||
tracing:
|
tracing:
|
||||||
enabled: {{ .Values.dendrite.tracing.enabled }}
|
enabled: {{ .Values.dendrite.tracing.enabled }}
|
||||||
jaeger: {{- toYaml .Values.dendrite.tracing.jaeger | nindent 8 }}
|
jaeger: {{- toYaml .Values.dendrite.tracing.jaeger | nindent 8 }}
|
||||||
|
@ -59,7 +59,7 @@ persistence:
|
|||||||
size: 1Gi
|
size: 1Gi
|
||||||
|
|
||||||
# -- Configure the key server.
|
# -- Configure the key server.
|
||||||
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/master/build/docker/config/dendrite-config.yaml)
|
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/main/dendrite-sample.polylith.yaml)
|
||||||
# @default -- See values.yaml
|
# @default -- See values.yaml
|
||||||
keyserver:
|
keyserver:
|
||||||
image:
|
image:
|
||||||
@ -79,9 +79,24 @@ keyserver:
|
|||||||
enabled: true
|
enabled: true
|
||||||
port: 7779
|
port: 7779
|
||||||
args: "keyserver"
|
args: "keyserver"
|
||||||
|
# -- Override general dendrite.database parameters.
|
||||||
|
# @default -- See values.yaml
|
||||||
|
database:
|
||||||
|
# -- Custom connection string
|
||||||
|
# @default -- file or derived from included postgresql deployment
|
||||||
|
connection_string: null
|
||||||
|
# -- Maximum open connections
|
||||||
|
# @default -- dendrite.database.max_open_conns
|
||||||
|
max_open_conns: null
|
||||||
|
# -- Maximum dile connections
|
||||||
|
# @default -- dendrite.database.max_idle_conns
|
||||||
|
max_idle_conns: null
|
||||||
|
# -- Maximum connection lifetime
|
||||||
|
# @default -- dendrite.database.conn_max_lifetime
|
||||||
|
conn_max_lifetime: null
|
||||||
|
|
||||||
# -- Configure the app service api.
|
# -- Configure the app service api.
|
||||||
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/master/build/docker/config/dendrite-config.yaml)
|
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/main/dendrite-sample.polylith.yaml)
|
||||||
# @default -- See values.yaml
|
# @default -- See values.yaml
|
||||||
appserviceapi:
|
appserviceapi:
|
||||||
image:
|
image:
|
||||||
@ -101,11 +116,26 @@ appserviceapi:
|
|||||||
enabled: true
|
enabled: true
|
||||||
port: 7777
|
port: 7777
|
||||||
args: "appservice"
|
args: "appservice"
|
||||||
|
# -- Override general dendrite.database parameters.
|
||||||
|
# @default -- See values.yaml
|
||||||
|
database:
|
||||||
|
# -- Custom connection string
|
||||||
|
# @default -- file or derived from included postgresql deployment
|
||||||
|
connection_string: null
|
||||||
|
# -- Maximum open connections
|
||||||
|
# @default -- dendrite.database.max_open_conns
|
||||||
|
max_open_conns: null
|
||||||
|
# -- Maximum dile connections
|
||||||
|
# @default -- dendrite.database.max_idle_conns
|
||||||
|
max_idle_conns: null
|
||||||
|
# -- Maximum connection lifetime
|
||||||
|
# @default -- dendrite.database.conn_max_lifetime
|
||||||
|
conn_max_lifetime: null
|
||||||
config:
|
config:
|
||||||
config_files: []
|
config_files: []
|
||||||
|
|
||||||
# -- Configuration for the client api component.
|
# -- Configuration for the client api component.
|
||||||
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/master/build/docker/config/dendrite-config.yaml)
|
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/main/dendrite-sample.polylith.yaml)
|
||||||
# @default -- See values.yaml
|
# @default -- See values.yaml
|
||||||
clientapi:
|
clientapi:
|
||||||
image:
|
image:
|
||||||
@ -157,7 +187,7 @@ clientapi:
|
|||||||
cooloff_ms: 500
|
cooloff_ms: 500
|
||||||
|
|
||||||
# -- Configure the Federation API
|
# -- Configure the Federation API
|
||||||
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/master/build/docker/config/dendrite-config.yaml)
|
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/main/dendrite-sample.polylith.yaml)
|
||||||
# @default -- values.yaml
|
# @default -- values.yaml
|
||||||
federationapi:
|
federationapi:
|
||||||
image:
|
image:
|
||||||
@ -180,6 +210,21 @@ federationapi:
|
|||||||
enabled: true
|
enabled: true
|
||||||
port: 8072
|
port: 8072
|
||||||
args: "federationapi"
|
args: "federationapi"
|
||||||
|
# -- Override general dendrite.database parameters.
|
||||||
|
# @default -- See values.yaml
|
||||||
|
database:
|
||||||
|
# -- Custom connection string
|
||||||
|
# @default -- file or derived from included postgresql deployment
|
||||||
|
connection_string: null
|
||||||
|
# -- Maximum open connections
|
||||||
|
# @default -- dendrite.database.max_open_conns
|
||||||
|
max_open_conns: null
|
||||||
|
# -- Maximum dile connections
|
||||||
|
# @default -- dendrite.database.max_idle_conns
|
||||||
|
max_idle_conns: null
|
||||||
|
# -- Maximum connection lifetime
|
||||||
|
# @default -- dendrite.database.conn_max_lifetime
|
||||||
|
conn_max_lifetime: null
|
||||||
config:
|
config:
|
||||||
federation-certificates: []
|
federation-certificates: []
|
||||||
send-max_retires: 16
|
send-max_retires: 16
|
||||||
@ -199,7 +244,7 @@ federationapi:
|
|||||||
prefer_direct_fetch: false
|
prefer_direct_fetch: false
|
||||||
|
|
||||||
# -- Configure the User API
|
# -- Configure the User API
|
||||||
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/master/build/docker/config/dendrite-config.yaml)
|
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/main/dendrite-sample.polylith.yaml)
|
||||||
# @default -- values.yaml
|
# @default -- values.yaml
|
||||||
userapi:
|
userapi:
|
||||||
image:
|
image:
|
||||||
@ -219,9 +264,28 @@ userapi:
|
|||||||
enabled: true
|
enabled: true
|
||||||
port: 7781
|
port: 7781
|
||||||
args: "userapi"
|
args: "userapi"
|
||||||
|
# -- Override general dendrite.database parameters.
|
||||||
|
# @default -- See values.yaml
|
||||||
|
database:
|
||||||
|
# -- Custom connection string
|
||||||
|
# @default -- file or derived from included postgresql deployment
|
||||||
|
connection_string: null
|
||||||
|
# -- Maximum open connections
|
||||||
|
# @default -- dendrite.database.max_open_conns
|
||||||
|
max_open_conns: null
|
||||||
|
# -- Maximum dile connections
|
||||||
|
# @default -- dendrite.database.max_idle_conns
|
||||||
|
max_idle_conns: null
|
||||||
|
# -- Maximum connection lifetime
|
||||||
|
# @default -- dendrite.database.conn_max_lifetime
|
||||||
|
conn_max_lifetime: null
|
||||||
|
config:
|
||||||
|
# -- bcrypt cost (2^[cost] = rounds)
|
||||||
|
# @default -- 10
|
||||||
|
bcrypt_cost: 10
|
||||||
|
|
||||||
# -- Configure the Sync API
|
# -- Configure the Sync API
|
||||||
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/master/build/docker/config/dendrite-config.yaml)
|
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/main/dendrite-sample.polylith.yaml)
|
||||||
# @default -- values.yaml
|
# @default -- values.yaml
|
||||||
syncapi:
|
syncapi:
|
||||||
image:
|
image:
|
||||||
@ -229,7 +293,7 @@ syncapi:
|
|||||||
repository: matrixdotorg/dendrite-polylith
|
repository: matrixdotorg/dendrite-polylith
|
||||||
# -- image tag
|
# -- image tag
|
||||||
# @default -- chart.appVersion
|
# @default -- chart.appVersion
|
||||||
tag: latest
|
tag:
|
||||||
# -- image pull policy
|
# -- image pull policy
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
service:
|
service:
|
||||||
@ -244,9 +308,24 @@ syncapi:
|
|||||||
enabled: true
|
enabled: true
|
||||||
port: 8073
|
port: 8073
|
||||||
args: "syncapi"
|
args: "syncapi"
|
||||||
|
# -- Override general dendrite.database parameters.
|
||||||
|
# @default -- See values.yaml
|
||||||
|
database:
|
||||||
|
# -- Custom connection string
|
||||||
|
# @default -- file or derived from included postgresql deployment
|
||||||
|
connection_string: null
|
||||||
|
# -- Maximum open connections
|
||||||
|
# @default -- dendrite.database.max_open_conns
|
||||||
|
max_open_conns: null
|
||||||
|
# -- Maximum dile connections
|
||||||
|
# @default -- dendrite.database.max_idle_conns
|
||||||
|
max_idle_conns: null
|
||||||
|
# -- Maximum connection lifetime
|
||||||
|
# @default -- dendrite.database.conn_max_lifetime
|
||||||
|
conn_max_lifetime: null
|
||||||
|
|
||||||
# -- Configure the Room Server
|
# -- Configure the Room Server
|
||||||
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/master/build/docker/config/dendrite-config.yaml)
|
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/main/dendrite-sample.polylith.yaml)
|
||||||
# @default -- values.yaml
|
# @default -- values.yaml
|
||||||
roomserver:
|
roomserver:
|
||||||
image:
|
image:
|
||||||
@ -266,9 +345,24 @@ roomserver:
|
|||||||
enabled: true
|
enabled: true
|
||||||
port: 7770
|
port: 7770
|
||||||
args: "roomserver"
|
args: "roomserver"
|
||||||
|
# -- Override general dendrite.database parameters.
|
||||||
|
# @default -- See values.yaml
|
||||||
|
database:
|
||||||
|
# -- Custom connection string
|
||||||
|
# @default -- file or derived from included postgresql deployment
|
||||||
|
connection_string: null
|
||||||
|
# -- Maximum open connections
|
||||||
|
# @default -- dendrite.database.max_open_conns
|
||||||
|
max_open_conns: null
|
||||||
|
# -- Maximum dile connections
|
||||||
|
# @default -- dendrite.database.max_idle_conns
|
||||||
|
max_idle_conns: null
|
||||||
|
# -- Maximum connection lifetime
|
||||||
|
# @default -- dendrite.database.conn_max_lifetime
|
||||||
|
conn_max_lifetime: null
|
||||||
|
|
||||||
# -- Configure the Media API
|
# -- Configure the Media API
|
||||||
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/master/build/docker/config/dendrite-config.yaml)
|
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/main/dendrite-sample.polylith.yaml)
|
||||||
# @default -- values.yaml
|
# @default -- values.yaml
|
||||||
mediaapi:
|
mediaapi:
|
||||||
image:
|
image:
|
||||||
@ -291,6 +385,21 @@ mediaapi:
|
|||||||
enabled: true
|
enabled: true
|
||||||
port: 8074
|
port: 8074
|
||||||
args: "mediaapi"
|
args: "mediaapi"
|
||||||
|
# -- Override general dendrite.database parameters.
|
||||||
|
# @default -- See values.yaml
|
||||||
|
database:
|
||||||
|
# -- Custom connection string
|
||||||
|
# @default -- file or derived from included postgresql deployment
|
||||||
|
connection_string: null
|
||||||
|
# -- Maximum open connections
|
||||||
|
# @default -- dendrite.database.max_open_conns
|
||||||
|
max_open_conns: null
|
||||||
|
# -- Maximum dile connections
|
||||||
|
# @default -- dendrite.database.max_idle_conns
|
||||||
|
max_idle_conns: null
|
||||||
|
# -- Maximum connection lifetime
|
||||||
|
# @default -- dendrite.database.conn_max_lifetime
|
||||||
|
conn_max_lifetime: null
|
||||||
config:
|
config:
|
||||||
base_path: *mediaPath
|
base_path: *mediaPath
|
||||||
max_file_size_bytes: 10485760
|
max_file_size_bytes: 10485760
|
||||||
@ -307,13 +416,40 @@ mediaapi:
|
|||||||
height: 480
|
height: 480
|
||||||
method: scale
|
method: scale
|
||||||
|
|
||||||
|
# -- Configuration for experimental MSCs
|
||||||
|
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/main/dendrite-sample.polylith.yaml)
|
||||||
|
# @default -- values.yaml
|
||||||
|
mscs:
|
||||||
|
# -- Override general dendrite.database parameters.
|
||||||
|
# @default -- See values.yaml
|
||||||
|
database:
|
||||||
|
# -- Custom connection string
|
||||||
|
# @default -- file or derived from included postgresql deployment
|
||||||
|
connection_string: null
|
||||||
|
# -- Maximum open connections
|
||||||
|
# @default -- dendrite.database.max_open_conns
|
||||||
|
max_open_conns: null
|
||||||
|
# -- Maximum dile connections
|
||||||
|
# @default -- dendrite.database.max_idle_conns
|
||||||
|
max_idle_conns: null
|
||||||
|
# -- Maximum connection lifetime
|
||||||
|
# @default -- dendrite.database.conn_max_lifetime
|
||||||
|
conn_max_lifetime: null
|
||||||
|
|
||||||
# -- Configuration for Dendrite.
|
# -- Configuration for Dendrite.
|
||||||
# For more information see [the sample
|
# For more information see [the sample
|
||||||
# denrite-config.yaml](https://github.com/matrix-org/dendrite/blob/master/build/docker/config/dendrite-config.yaml)
|
# denrite-config.yaml](https://github.com/matrix-org/dendrite/blob/main/dendrite-sample.polylith.yaml)
|
||||||
# @default -- See values.yaml
|
# @default -- See values.yaml
|
||||||
dendrite:
|
dendrite:
|
||||||
# -- Enable polylith deployment
|
# -- Enable polylith deployment
|
||||||
polylithEnabled: false
|
polylithEnabled: false
|
||||||
|
# -- Usage statistics reporting configuration
|
||||||
|
report_stats:
|
||||||
|
# -- Enable or disable usage reporting
|
||||||
|
# @default -- false
|
||||||
|
enabled: false
|
||||||
|
# -- Push endpoint for usage statistics
|
||||||
|
endpoint: ""
|
||||||
# -- If enabled, use an existing secrets for the TLS certificate and key.
|
# -- If enabled, use an existing secrets for the TLS certificate and key.
|
||||||
# Otherwise, to enable TLS a `server.crt` and `server.key` must be mounted at
|
# Otherwise, to enable TLS a `server.crt` and `server.key` must be mounted at
|
||||||
# `/etc/dendrite`.
|
# `/etc/dendrite`.
|
||||||
|
Loading…
Reference in New Issue
Block a user