fix(mycloud-matrix): upgrade signal bridge
Signed-off-by: WrenIX <dev@wrenix.eu>
This commit is contained in:
parent
39c1ef6fcd
commit
ab747f302d
1 changed files with 30 additions and 25 deletions
|
@ -36,37 +36,28 @@ spec:
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
name: "{{ .Release.Name }}-doublepuppet"
|
name: "{{ .Release.Name }}-doublepuppet"
|
||||||
valuesKey: as_token_code
|
valuesKey: as_token_code
|
||||||
targetPath: config.bridge.login_shared_secret_map.{{ include "mycloud-matrix.domain" . | replace "." "\\." }}
|
targetPath: config.double_puppet.secrets.{{ include "mycloud-matrix.domain" . | replace "." "\\." }}
|
||||||
values:
|
values:
|
||||||
|
image:
|
||||||
|
repository: "mautrix/signal@sha256"
|
||||||
|
tag: "98c72b3918ac8b970257305127580cd37549201da90cd64307d406aa5c176c1b"
|
||||||
config:
|
config:
|
||||||
|
database:
|
||||||
|
type: postgres
|
||||||
|
{{- $username := .Values.databases.bridge.signal.username }}
|
||||||
|
{{- $password := .Values.databases.bridge.signal.password | default (derivePassword 1 "long" .Values.commons.masterPassword "matrix-bridge-signal" "database_password" | b64enc) }}
|
||||||
|
{{- $host := .Values.databases.bridge.signal.host }}
|
||||||
|
{{- $database := .Values.databases.bridge.signal.name }}
|
||||||
|
uri: {{ printf "postgres://%s:%s@%s/%s?sslmode=disable" $username $password $host $database | quote }}
|
||||||
homeserver:
|
homeserver:
|
||||||
address: https://{{ include "mycloud-matrix.host.server" . }}
|
address: https://{{ include "mycloud-matrix.host.server" . }}
|
||||||
domain: {{ include "mycloud-matrix.domain" . }}
|
domain: {{ include "mycloud-matrix.domain" . }}
|
||||||
appservice:
|
appservice:
|
||||||
address: http://{{ .Release.Name }}-mautrix-signal:29328
|
address: http://{{ .Release.Name }}-mautrix-signal:29328
|
||||||
database:
|
|
||||||
type: postgres
|
|
||||||
{{- $username := .Values.databases.bridge.signal.username }}
|
|
||||||
{{- $password := .Values.databases.bridge.signal.password | default (derivePassword 1 "long" .Values.commons.masterPassword "matrix-bridge-signal" "database_password" | b64enc) }}
|
|
||||||
{{- $host := .Values.databases.bridge.signal.host }}
|
|
||||||
{{- $database := .Values.databases.bridge.signal.name }}
|
|
||||||
uri: {{ printf "postgres://%s:%s@%s/%s?sslmode=disable" $username $password $host $database | quote }}
|
|
||||||
bridge:
|
bridge:
|
||||||
personal_filtering_spaces: true
|
personal_filtering_spaces: true
|
||||||
sync_direct_chat_list: true
|
relay:
|
||||||
double_puppet_server_map:
|
enabled: true
|
||||||
example.com: null
|
|
||||||
{{ include "mycloud-matrix.domain" . }}: https://{{ include "mycloud-matrix.host.server" . }}
|
|
||||||
login_shared_secret_map:
|
|
||||||
example.com: null
|
|
||||||
{{- if not .Values.server.authenticationService.enabled }}
|
|
||||||
encryption:
|
|
||||||
allow: true
|
|
||||||
default: true
|
|
||||||
require: true
|
|
||||||
delete_keys:
|
|
||||||
periodically_delete_expired: true
|
|
||||||
{{- end }}
|
|
||||||
permissions:
|
permissions:
|
||||||
"example.com": null
|
"example.com": null
|
||||||
"@admin:example.com": null
|
"@admin:example.com": null
|
||||||
|
@ -74,8 +65,22 @@ spec:
|
||||||
{{- range $user := .Values.bridge.signal.admins }}
|
{{- range $user := .Values.bridge.signal.admins }}
|
||||||
{{ $user | quote }}: admin
|
{{ $user | quote }}: admin
|
||||||
{{- end }}
|
{{- end }}
|
||||||
relay:
|
matrix:
|
||||||
enabled: true
|
sync_direct_chat_list: true
|
||||||
|
double_puppet:
|
||||||
|
servers:
|
||||||
|
example.com: null
|
||||||
|
{{ include "mycloud-matrix.domain" . }}: https://{{ include "mycloud-matrix.host.server" . }}
|
||||||
|
secrets:
|
||||||
|
example.com: null
|
||||||
|
{{- if not .Values.server.authenticationService.enabled }}
|
||||||
|
encryption:
|
||||||
|
allow: true
|
||||||
|
default: true
|
||||||
|
require: true
|
||||||
|
delete_keys:
|
||||||
|
periodically_delete_expired: true
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
registration:
|
registration:
|
||||||
namespaces:
|
namespaces:
|
||||||
|
|
Loading…
Add table
Reference in a new issue