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:
@@ -89,7 +89,7 @@ resource "kubernetes_ingress_v1" "automatic_ingress_legacy" {
|
||||
for_each = toset(coalesce(each.value.domain_name, [each.key]))
|
||||
content {
|
||||
hosts = [join(".", [tls.value, "tryton.geeraert.eu"])]
|
||||
secret_name = "${each.key}-${tls.value}-tls-secret"
|
||||
secret_name = "${each.key}-${tls.value}-tryton-tls-secret"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user