From 3d8d3e5724054661e0773063668b08ea71d471ae Mon Sep 17 00:00:00 2001
From: xeruf <27jf@pm.me>
Date: Fri, 5 Apr 2024 14:41:42 +0200
Subject: [PATCH] apps/meet: calcom mailing config

---
 apps/meet/calcom/calcom-keys.yaml             |  6 ++++++
 apps/meet/calcom/calcom-values-configmap.yaml | 14 --------------
 apps/status/gatus/gatus-values-configmap.yaml |  4 ++++
 3 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/apps/meet/calcom/calcom-keys.yaml b/apps/meet/calcom/calcom-keys.yaml
index f82f765..1475c83 100644
--- a/apps/meet/calcom/calcom-keys.yaml
+++ b/apps/meet/calcom/calcom-keys.yaml
@@ -8,3 +8,9 @@ stringData:
   NEXT_PUBLIC_WEBAPP_URL: "https://${calcom_domain}"
   NEXTAUTH_SECRET: "${nextauth_secret}"
   CALENDSO_ENCRYPTION_KEY: "${calendso_key}"
+  EMAIL_FROM: "${outgoing_mail_from_address}"
+  EMAIL_SERVER_HOST: "${outgoing_mail_smtp_host}"
+  EMAIL_SERVER_PORT: "${outgoing_mail_smtp_port}"
+  EMAIL_SERVER_USER: "${outgoing_mail_smtp_user}"
+  EMAIL_SERVER_PASSWORD: "${outgoing_mail_smtp_password}"
+  # email_enabled: "${outgoing_mail_enabled}"
diff --git a/apps/meet/calcom/calcom-values-configmap.yaml b/apps/meet/calcom/calcom-values-configmap.yaml
index aa087c8..b72bb0c 100644
--- a/apps/meet/calcom/calcom-values-configmap.yaml
+++ b/apps/meet/calcom/calcom-values-configmap.yaml
@@ -42,17 +42,3 @@ data:
           - secretName: calcom-tls
             hosts:
               - "${calcom_domain}"
-
-    # TODO Adjust calcom Mailing config
-    #    mailer:
-    #      enabled: "${outgoing_mail_enabled}"
-    #      host: "${outgoing_mail_smtp_host}"
-    #      port: "${outgoing_mail_smtp_port}"
-    #      username: "${outgoing_mail_smtp_user}"
-    #      password: "${outgoing_mail_smtp_password}"
-    #      fromemail: "${outgoing_mail_from_address}"
-    # TODO Adjust calcom OpenID Connect Single Sign-On Configuration
-    #    - name: Stackspin
-    #      key: "${client_id}"
-    #      secret: "${client_secret}"
-    #      autoDiscoverUrl: 'https://${hydra_domain}/.well-known/openid-configuration'
diff --git a/apps/status/gatus/gatus-values-configmap.yaml b/apps/status/gatus/gatus-values-configmap.yaml
index 81ef0b4..9f15e28 100644
--- a/apps/status/gatus/gatus-values-configmap.yaml
+++ b/apps/status/gatus/gatus-values-configmap.yaml
@@ -16,6 +16,10 @@ data:
           hosts:
             - "${gatus_domain}"
 
+    persistence:
+      enabled: true
+      existingClaim: "gatus-data"
+
     security:
       oidc:
         issuer-url: "https://${hydra_domain}"
-- 
GitLab