feat(helm-chart): implement auto_join_rooms (as in v0.10.5)

This commit is contained in:
Tomasz Torcz 2023-01-07 14:50:30 +01:00
parent 140c38611a
commit f6a11a3148
3 changed files with 4 additions and 0 deletions

View file

@ -220,6 +220,7 @@ For more information see:
| syncapi.config.search.index_path | string | `/var/dendrite/searchindex` | Where to store search index |
| syncapi.config.search.language | string | `en` | Indexing language |
| userapi | object | values.yaml | Configure the User API For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/main/dendrite-sample.polylith.yaml) |
| userapi.config.auto_join_rooms | list | `[]` | Automatically join users registered on this homeserver to following rooms |
| userapi.config.bcrypt_cost | int | 10 | bcrypt cost (2^[cost] = rounds) |
| userapi.database | object | See values.yaml | Override general dendrite.database parameters. |
| userapi.database.conn_max_lifetime | string | dendrite.database.conn_max_lifetime | Maximum connection lifetime |

View file

@ -207,6 +207,7 @@ stringData:
conn_max_lifetime: {{ default .Values.dendrite.database.conn_max_lifetime .Values.userapi.database.conn_max_lifetime }}
{{- end }}
bcrypt_cost: {{ default 10 .Values.userapi.config.bcrypt_cost }}
auto_join_rooms: {{ .Values.userapi.config.auto_join_rooms }}
tracing:
enabled: {{ .Values.dendrite.tracing.enabled }}
jaeger: {{- toYaml .Values.dendrite.tracing.jaeger | nindent 8 }}

View file

@ -301,6 +301,8 @@ userapi:
# -- bcrypt cost (2^[cost] = rounds)
# @default -- 10
bcrypt_cost: 10
auto_join_rooms: []
# - "#main:matrix.org"
# -- Configure the Sync API
# For more information see [the sample dendrite configuration](https://github.com/matrix-org/dendrite/blob/main/dendrite-sample.polylith.yaml)