diff --git a/gitea.tf b/gitea.tf index 8b5510c..5cc142f 100644 --- a/gitea.tf +++ b/gitea.tf @@ -10,10 +10,15 @@ resource "helm_release" "this" { repository = "https://dl.gitea.io/charts/" chart = "gitea" - version = "6.0.3" + version = "7.0.4" create_namespace = false + set { + name = "clusterDomain" + value = "k8s.lawndale" + } + values = [ jsonencode({ ingress = { @@ -92,6 +97,23 @@ resource "helm_release" "this" { } } }), + jsonencode({ + gitea = { + config = { + mailer = { + ENABLED = true + FROM = "gitea@git.thomasklein.me" + PROTOCOL = "smtp" + SMTP_ADDR = "nat.lawndale" + SMTP_PORT = "25" + ## Deprecated config for 1.17 + HOST = "nat.lawndale:25" + IS_TLS_ENABLED = false + MAILER_TYPE = "smtp" + } + } + } + }), jsonencode({ persistence = { enabled = true