fix: complete dns with additional ingress host

This commit is contained in:
RouxAntoine 2024-09-27 23:10:03 +02:00
parent 5dcccbaf01
commit 243cc25ee8
Signed by: antoine
GPG Key ID: 098FB66FC0475E70

View File

@ -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"