missed
This commit is contained in:
@@ -71,7 +71,7 @@ resource "kubernetes_ingress_v1" "automatic_ingress_legacy" {
|
||||
for_each = { for key, value in var.kubernetes_input : 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}-legacy-ingress"
|
||||
namespace = coalesce(each.value.namespace, each.value.connected_namespace, each.key)
|
||||
|
||||
annotations = {
|
||||
@@ -88,7 +88,7 @@ resource "kubernetes_ingress_v1" "automatic_ingress_legacy" {
|
||||
dynamic "tls" {
|
||||
for_each = toset(coalesce(each.value.domain_name, [each.key]))
|
||||
content {
|
||||
hosts = [join(".", [tls.value, "geeraert.eu"])]
|
||||
hosts = [join(".", [tls.value, "tryton.geeraert.eu"])]
|
||||
secret_name = "${each.key}-${tls.value}-tls-secret"
|
||||
}
|
||||
}
|
||||
@@ -98,7 +98,7 @@ resource "kubernetes_ingress_v1" "automatic_ingress_legacy" {
|
||||
dynamic "rule" {
|
||||
for_each = toset(coalesce(each.value.domain_name, [each.key]))
|
||||
content {
|
||||
host = join(".", [rule.value, "geeraert.eu"])
|
||||
host = join(".", [rule.value, "tryton.geeraert.eu"])
|
||||
http {
|
||||
path {
|
||||
path = "/"
|
||||
|
||||
Reference in New Issue
Block a user