From 11fd595245ff38848999358a5201644b676f451e Mon Sep 17 00:00:00 2001 From: anatoleam Date: Thu, 30 Nov 2023 12:18:42 -0600 Subject: [PATCH] terraform: switch dns to cfd --- terraform/deployment.tf | 1 + 1 file changed, 1 insertion(+) 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" } }