diff --git a/exposition.tf b/exposition.tf index 2e289af..a7e7bb6 100644 --- a/exposition.tf +++ b/exposition.tf @@ -61,10 +61,10 @@ resource "kubernetes_manifest" "certificate" { } spec = { secretName = local.certificate_secret_name - dnsNames = [ + dnsNames = concat([ local.service_hostname, format("*.%s", local.service_hostname) - ] + ], var.additional_ingress_host) issuerRef = { kind = "ClusterIssuer" name = "localdomain-issuer"