add mautrix discord and whatsapp

This commit is contained in:
2024-07-10 15:18:27 -05:00
parent 6ac5f01f53
commit b9b16cd6ad
3 changed files with 40 additions and 0 deletions

View File

@@ -37,6 +37,14 @@ dependencies:
alias: matrix-hookshot
version: 3.2.1
repository: https://bjw-s.github.io/helm-charts/
- name: app-template
alias: mautrix-discord
repository: https://bjw-s.github.io/helm-charts/
version: 3.2.1
- name: app-template
alias: mautrix-whatsapp
repository: https://bjw-s.github.io/helm-charts/
version: 3.2.1
- name: redis
alias: redis-synapse
version: 19.6.1

View File

@@ -139,6 +139,31 @@ spec:
metadataPolicy: None
property: registration
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: double-puppet-registration-secret
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: double-puppet-registration-secret
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: web
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
secretStoreRef:
kind: ClusterSecretStore
name: vault
data:
- secretKey: double-puppet-registration.yaml
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /cl01tl/matrix-synapse/doublepuppet
metadataPolicy: None
property: registration
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret

View File

@@ -34,6 +34,9 @@ matrix-synapse:
- name: mautrix-whatsapp-config-secret
secret:
secretName: mautrix-whatsapp-config-secret
- name: double-puppet-registration-secret
secret:
secretName: double-puppet-registration-secret
extraVolumeMounts:
- name: matrix-synapse-config-secret
mountPath: /synapse/config/conf.d/oidc.yaml
@@ -55,6 +58,10 @@ matrix-synapse:
mountPath: /synapse/config/conf.d/mautrix-whatsapp-registration.yaml
subPath: mautrix-whatsapp-registration.yaml
readOnly: true
- name: double-puppet-registration-secret
mountPath: /synapse/config/conf.d/double-puppet-registration.yaml
subPath: double-puppet-registration.yaml
readOnly: true
resources:
requests:
cpu: 100m