duplicate names
This commit is contained in:
+2
-2
@@ -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 }
|
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 {
|
metadata {
|
||||||
name = "${each.key}-ingress"
|
name = "${each.key}-ingress-legacy"
|
||||||
namespace = coalesce(each.value.namespace, each.value.connected_namespace, each.key)
|
namespace = coalesce(each.value.namespace, each.value.connected_namespace, each.key)
|
||||||
|
|
||||||
annotations = {
|
annotations = {
|
||||||
|
|||||||
Reference in New Issue
Block a user