diff --git a/terraform/monitoring.tf b/terraform/monitoring.tf index e9b8ea8..f7f3ee2 100644 --- a/terraform/monitoring.tf +++ b/terraform/monitoring.tf @@ -14,7 +14,7 @@ resource "kubernetes_config_map" "grafana_datasources" { } } data = { - datasources = yamlencode({ + "ds.yaml" = yamlencode({ apiVersion = 1 datasources = [ { @@ -124,7 +124,7 @@ resource "helm_release" "prometheus_operator" { scrape_interval = "60s" static_configs = [ { - targets = ["crowdsec-service.default.svc.cluster.local:6060"] + targets = ["crowdsec-service.crowdsec.svc.cluster.local:6060"] } ] }