From a8786e405330a6a7e22beca085a271ca812a0aad Mon Sep 17 00:00:00 2001 From: alexlebens Date: Sun, 26 May 2024 15:12:24 -0500 Subject: [PATCH] remove whats app bridge --- .../cl01tl/platform/matrix-synapse/Chart.yaml | 3 -- .../templates/external-secret.yaml | 39 +------------------ .../platform/matrix-synapse/values.yaml | 22 ----------- 3 files changed, 1 insertion(+), 63 deletions(-) diff --git a/clusters/cl01tl/platform/matrix-synapse/Chart.yaml b/clusters/cl01tl/platform/matrix-synapse/Chart.yaml index 5a3adefaf..8591218ca 100644 --- a/clusters/cl01tl/platform/matrix-synapse/Chart.yaml +++ b/clusters/cl01tl/platform/matrix-synapse/Chart.yaml @@ -18,9 +18,6 @@ dependencies: - name: mautrix-discord version: 0.0.2 repository: http://alexlebens.github.io/helm-charts - - name: mautrix-whatsapp - version: 0.0.3 - repository: http://alexlebens.github.io/helm-charts - name: redis version: 19.1.2 repository: https://charts.bitnami.com/bitnami diff --git a/clusters/cl01tl/platform/matrix-synapse/templates/external-secret.yaml b/clusters/cl01tl/platform/matrix-synapse/templates/external-secret.yaml index 5df576fa5..8112aaf34 100644 --- a/clusters/cl01tl/platform/matrix-synapse/templates/external-secret.yaml +++ b/clusters/cl01tl/platform/matrix-synapse/templates/external-secret.yaml @@ -114,44 +114,7 @@ spec: metadataPolicy: None property: registration ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - name: mautrix-whatsapp-config-secret - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: mautrix-whatsapp-config-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: config.yaml - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/matrix-synapse/mautrix-whatsapp - metadataPolicy: None - property: config - - secretKey: registration.yaml - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/matrix-synapse/mautrix-whatsapp - metadataPolicy: None - property: registration - - secretKey: mautrix-whatsapp-registration.yaml - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/matrix-synapse/mautrix-whatsapp - metadataPolicy: None - property: registration + --- apiVersion: external-secrets.io/v1beta1 diff --git a/clusters/cl01tl/platform/matrix-synapse/values.yaml b/clusters/cl01tl/platform/matrix-synapse/values.yaml index e2452bfe4..e4ba5ff91 100644 --- a/clusters/cl01tl/platform/matrix-synapse/values.yaml +++ b/clusters/cl01tl/platform/matrix-synapse/values.yaml @@ -31,9 +31,6 @@ matrix-synapse: - name: mautrix-discord-config-secret secret: secretName: mautrix-discord-config-secret - - name: mautrix-whatsapp-config-secret - secret: - secretName: mautrix-whatsapp-config-secret extraVolumeMounts: - name: matrix-synapse-config-secret mountPath: /synapse/config/conf.d/oidc.yaml @@ -51,10 +48,6 @@ matrix-synapse: mountPath: /synapse/config/conf.d/mautrix-discord-registration.yaml subPath: mautrix-discord-registration.yaml readOnly: true - - name: mautrix-whatsapp-config-secret - mountPath: /synapse/config/conf.d/mautrix-whatsapp-registration.yaml - subPath: mautrix-whatsapp-registration.yaml - readOnly: true resources: requests: cpu: 100m @@ -142,21 +135,6 @@ mautrix-discord: mautrixDiscord: existingSecret: mautrix-discord-config-secret existingRegistrationSecret: mautrix-discord-config-secret -mautrix-whatsapp: - deployment: - resources: - requests: - cpu: 100m - memory: 128Mi - ingress: - enabled: false - persistence: - enabled: ture - storageClass: ceph-block - size: 500Mi - mautrixWhatsapp: - existingSecret: mautrix-whatsapp-config-secret - existingRegistrationSecret: mautrix-whatsapp-config-secret redis: architecture: standalone auth: