From 3a1f4831a82b0f682b03032625c7c083ff20b603 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 20 Sep 2022 12:21:28 +0300 Subject: feat(ops/keycloak): add SMTP settings in configuration I think these were set up in the UI and previously not supported in the Terraform config, now they're supported and Terraform wanted to delete them ... Change-Id: I83eb49ceb774ac835dc81638f962e937c7e936c6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6707 Tested-by: BuildkiteCI Autosubmit: tazjin Reviewed-by: lukegb --- ops/keycloak/main.tf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ops/keycloak/main.tf b/ops/keycloak/main.tf index 819267ff96..a8e2d82a3c 100644 --- a/ops/keycloak/main.tf +++ b/ops/keycloak/main.tf @@ -31,4 +31,14 @@ resource "keycloak_realm" "tvl" { enabled = true display_name = "The Virus Lounge" default_signature_algorithm = "RS256" + + smtp_server { + from = "tvlbot@tazj.in" + from_display_name = "The Virus Lounge" + host = "127.0.0.1" + port = "25" + reply_to = "depot@tazj.in" + ssl = false + starttls = false + } } -- cgit 1.4.1