This commit is contained in:
2024-01-22 15:57:39 +01:00
parent bb9c0e745d
commit b8d9474cb1
2 changed files with 59 additions and 59 deletions

View File

@@ -22,7 +22,7 @@ locals {
}
resource "kubernetes_namespace_v1" "monitor-ns" {
count = ( var.prometheus.enable || var.alertmanager.enable || var.nodeExporter.enable || var.kubeStateMetrics.enable || var.monitorControlPlan.enable )? 1 : 0
count = ( var.prometheus.enable || var.alertmanager.enable || var.node-exporter.enable || var.kube-state-metrics.enable || var.monitor-control-plan.enable )? 1 : 0
metadata {
annotations = local.annotations
labels = merge(local.common-labels, local.annotations)