fix: complete dns with additional ingress host
This commit is contained in:
parent
5dcccbaf01
commit
243cc25ee8
@ -61,10 +61,10 @@ resource "kubernetes_manifest" "certificate" {
|
|||||||
}
|
}
|
||||||
spec = {
|
spec = {
|
||||||
secretName = local.certificate_secret_name
|
secretName = local.certificate_secret_name
|
||||||
dnsNames = [
|
dnsNames = concat([
|
||||||
local.service_hostname,
|
local.service_hostname,
|
||||||
format("*.%s", local.service_hostname)
|
format("*.%s", local.service_hostname)
|
||||||
]
|
], var.additional_ingress_host)
|
||||||
issuerRef = {
|
issuerRef = {
|
||||||
kind = "ClusterIssuer"
|
kind = "ClusterIssuer"
|
||||||
name = "localdomain-issuer"
|
name = "localdomain-issuer"
|
||||||
|
Loading…
Reference in New Issue
Block a user