From d97cd9ca529222820233aba20560ca408def1856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Wed, 15 Jul 2026 14:44:45 +0000 Subject: [PATCH] modified: services/monitoring/deploy/prometheus/original-values.yaml modified: services/monitoring/deploy/prometheus/prometheus-agent.yaml --- .../monitoring/deploy/prometheus/original-values.yaml | 5 ++--- .../monitoring/deploy/prometheus/prometheus-agent.yaml | 10 ++++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/services/monitoring/deploy/prometheus/original-values.yaml b/services/monitoring/deploy/prometheus/original-values.yaml index c51baf5..dcfe23d 100644 --- a/services/monitoring/deploy/prometheus/original-values.yaml +++ b/services/monitoring/deploy/prometheus/original-values.yaml @@ -24,9 +24,8 @@ fullnameOverride: "" ## Labels to apply to all resources ## -commonLabels: {} -# scmhash: abc123 -# myLabel: aakkmd +commonLabels: + prometheus-monitoring: "enabled" ## Install Prometheus Operator CRDs ## diff --git a/services/monitoring/deploy/prometheus/prometheus-agent.yaml b/services/monitoring/deploy/prometheus/prometheus-agent.yaml index 315da44..a108b62 100644 --- a/services/monitoring/deploy/prometheus/prometheus-agent.yaml +++ b/services/monitoring/deploy/prometheus/prometheus-agent.yaml @@ -9,18 +9,16 @@ spec: prometheus-monitoring: enabled podMonitorSelector: - matchExpressions: - - key: app - operator: Exists + matchLabels: + prometheus-monitoring: enabled serviceMonitorNamespaceSelector: matchLabels: prometheus-monitoring: enabled serviceMonitorSelector: - matchExpressions: - - key: app - operator: Exists + matchLabels: + prometheus-monitoring: enabled replicas: 1 remoteWrite: