fix
This commit is contained in:
@@ -6,6 +6,10 @@ locals {
|
||||
"vynil.solidite.fr/issuer" = var.issuer
|
||||
"vynil.solidite.fr/ingress" = var.ingress-class
|
||||
}
|
||||
annotations_default = {
|
||||
"vynil.solidite.fr/default/domain_name" = var.domain-name
|
||||
"vynil.solidite.fr/default/*" = var.domain-name
|
||||
}
|
||||
global = {
|
||||
"domain" = var.namespace
|
||||
"domain-name" = var.domain-name
|
||||
@@ -27,7 +31,7 @@ locals {
|
||||
resource "kubernetes_namespace_v1" "erp-ns" {
|
||||
count = ( var.dolibarr.enable )? 1 : 0
|
||||
metadata {
|
||||
annotations = local.annotations
|
||||
annotations = merge(local.annotations, local.annotations_default)
|
||||
labels = merge(local.common-labels, local.annotations)
|
||||
name = "${var.namespace}-erp"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user