diff --git a/core/services.tf b/core/services.tf index 8b4b1bb..7b00d01 100644 --- a/core/services.tf +++ b/core/services.tf @@ -36,10 +36,10 @@ resource "kubernetes_ingress_v1" "automatic_ingress" { } } } -resource "kubernetes_ingress_v1" "automatic_ingress_tryton" { +resource "kubernetes_ingress_v1" "automatic_ingress_legacy" { for_each = { for key, value in var.kubernetes : key => value if value.service_port != null && value.enabled == true && value.docker != true && value.exposed == true && value.legacy_domain == true } metadata { - name = "${each.key}-ingress" + name = "${each.key}-ingress-legacy" namespace = coalesce(each.value.namespace, each.value.connected_namespace, each.key) annotations = {