diff --git a/terraform/deployment.tf b/terraform/deployment.tf index ad950616..36be6370 100644 --- a/terraform/deployment.tf +++ b/terraform/deployment.tf @@ -135,6 +135,7 @@ resource "kubernetes_ingress_v1" "app" { namespace = data.kubernetes_namespace.app.metadata[0].name annotations = { "kubernetes.io/ingress.class" = "nginx" + "external-dns.alpha.kubernetes.io/target" = local.infra.cloudflare_tunnel_hostname.regular "external-dns.alpha.kubernetes.io/cloudflare-proxied" = "true" } }