1
0
Fork 0

k/matrix: add mautrix-slack

This commit is contained in:
Danny Grove 2024-03-31 14:40:26 -07:00
parent b3882daf31
commit 11840a0947
Signed by: drgrove
GPG Key ID: E1F4160251DB4C2E
6 changed files with 114 additions and 48 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
kind: Service
apiVersion: v1
metadata:
name: slack
name: mautrix-slack
spec:
publishNotReadyAddresses: true
ports:

View File

@ -1,8 +1,9 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: slack-bridge
name: mautrix-slack-bridge
spec:
serviceName: mautrix-slack
template:
spec:
containers:
@ -20,7 +21,7 @@ spec:
protocol: TCP
volumeMounts:
- name: config-secrets
mountPath: /data/secrets.yaml
mountPath: /data/config.yaml
subPath: config.yaml
livenessProbe:
httpGet:
@ -37,4 +38,4 @@ spec:
volumes:
- name: config-secrets
secret:
secretName: slack-config
secretName: mautrix-slack-config

View File

@ -5,8 +5,9 @@ metadata:
type: Opaque
stringData:
homeserver.yaml: ENC[AES256_GCM,data:9O2YODDpJf6FzX6DojwGaIYkRs99K/GP+HCBCb4PO5fNJPmyEaN3DllpZjSn1WlgMIMi46gs7wfZJjoJRVz5wq+owwmZw+4lrAnYN8niNKcYoakuHn57WSzlrrqZDMY5i0VKZ1S+QATGll5Wl19AjHIuVEbJ5nQeeORVq+n7voG4/MX3PcZINjKdr4PnTwCx21TrPb9lRunH+oGhbHjMvx4yxNzqOvrvuFMSqkC/lDWrrSfCcn14qbLhq//OAk+c49IUkHTjJVbaK4mx1dbi7LA3rsZmb5cM9iFLPImWZnlpGM3SZasO91paiV8EaH+EkyA/4TpWODi+0KCiwVrLnOxEvmx6NweGOIaWgk04DgFomD468F1i0VVksk5/FwM8QvS8cIZ6Wqk/mAtbki5pnpvSZMrWXV4WSja+IcpoPYZjYdzttiHhxqoQ9Kkka3AqPEm1Nj6ggYtgjfE78dWVxN0jcKTXLV6C2T59jqpwyT9zmIpTJZ6AbZL6hafBprJenwD4mUO+pGzW1zs2nzDDr49nRSLtnRub5ecdYgZTPoInxxJYqbgZIjCYfwc7Y49JeSxklQXspCYZf+xmS0O4w8FzgwWYKCcajju4cRKHe46oN6QUftcmJILyt4LVSCuKzGsIKRnPazPKWqPUDjAs7j/i+jCha6gIctF5wvihfrCXHqD0gHa92kR/M581C6Ch2LFTupyUZtyZEbE+Y1oPlYyn2psBohVm/izl96QKuX7Ujco5Iahf7A55CTMuoBqXtvhpNwZVcmLf3SWiFTN2LfrkG2rXarvq+2TsgMcFeNia094Yk0gISR8UTu7uhhKuoPoFMN+3cCnXqiqMHoehbT9KyV7QuXG+M/jvGnUKPeTtp/Grmd4arvLpFp9UKAXbVkvFCFyTW+562qRnh0Int88ycr6FBdQl1HTN+mQfz4lNLxNomxu+0iDMaNP0+YTncSRragpjV267IUvWzzu5Dl1StD8YUZ2/J+66helA3IGBVlIqoeoAJyrP+GNuhwInTFVBlVxDyn8N/VqJuFw3B8c2W7BX6+68asZROeaTHDu2rYfxVWhGss7oKTxz4RdiK510tLh5OtI7M5f2b8gnhqwTbsiHM4UaCXGP4JdmIsyLcUEeg9K1jQx/LsYCBi9ZaegzbhIvgi3r12495Fzw5gWfZ5Xsf7gvQYR41A==,iv:QemGZaVH7IHvLdTjhr+R7FMyuJlGk9UsZMn5aILwwNg=,tag:N3dCm2v044ZrOgPjWSrjuw==,type:str]
mautrix-slack-bridge.yaml: ""
mautrix-slack-bridge.yaml: ENC[AES256_GCM,data:7prhlEl/Ftf2CJWX67OF36fU386C5aGtrG45ofQCepBlI1Chi9ntswRd4VmiOnEt3vepgy4WFPRrAGu+1ycvILgCztK/2hFhEEmnf6vOlNkddXhkyuB9AgOTeCZ/ieTFXw0kErmaAvFwCkdp/SZIh+rqOTGk/3QoPqv7+1mLTxyuUOGeKlizs+4AfzFqpommfQNC2ZPpbOCtih/OZty+nbleyYnwBCyiIEOSI/to8m2aAIlg69fIT6cOwj4xiglO5dovXtr3Qe0VqkxBPOzD+1T5cFl2Q6zW0pFI320lP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LNlmLgxQ=,tag:W+xjNY+AJdZb+dxUrvLosQ==,type:str]
pgp:
- created_at: "2024-01-11T20:55:07Z"
enc: |-

View File

@ -71,6 +71,9 @@ spec:
- name: config-secrets
mountPath: /bridges/appservice-matrix-bridge.yaml
subPath: appservice-matrix-bridge.yaml
- name: config-secrets
mountPath: /bridges/doublepuppet.yaml
subPath: doublepuppet.yaml
- name: tmp
mountPath: /tmp
restartPolicy: Always

View File

@ -61,9 +61,10 @@ acme:
# Bridges
app_service_config_files:
- /bridges/appservice-matrix-bridge.yaml
# - /bridges/appservice-matrix-bridge.yaml
- /bridges/mautrix-telegram-bridge.yaml
# - /bridges/mautrix-slack-bridge.yaml
- /bridges/mautrix-slack-bridge.yaml
- /bridges/doublepuppet.yaml
# Turn
turn_user_lifetime: 1h