change the certificate for the ingress , otherwise 1 cert valid only for 1 url but only for the legacy one as it is the second one to be created , it overwrite

This commit is contained in:
pierre.geeraert
2026-10-14 10:49:08 +01:00
parent dfc1d80c50
commit 5dae1f5734
+1 -1
View File
@@ -89,7 +89,7 @@ resource "kubernetes_ingress_v1" "automatic_ingress_legacy" {
for_each = toset(coalesce(each.value.domain_name, [each.key])) for_each = toset(coalesce(each.value.domain_name, [each.key]))
content { content {
hosts = [join(".", [tls.value, "tryton.geeraert.eu"])] hosts = [join(".", [tls.value, "tryton.geeraert.eu"])]
secret_name = "${each.key}-${tls.value}-tls-secret" secret_name = "${each.key}-${tls.value}-tryton-tls-secret"
} }
} }