From efc03844784e809fb93cbc80286a087f3ec45da3 Mon Sep 17 00:00:00 2001 From: Christophe Jauffret Date: Thu, 16 Jan 2025 10:10:41 +0100 Subject: [PATCH] feat: add monitoring to cnpg and default harbor db (#3022) add monitoring to cnpg and default harbor db --- services/cloudnative-pg/0.23.0/defaults/cm.yaml | 4 +++- services/harbor/1.16.0/defaults/database.yaml | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/services/cloudnative-pg/0.23.0/defaults/cm.yaml b/services/cloudnative-pg/0.23.0/defaults/cm.yaml index 09ab33299..e6778d44a 100644 --- a/services/cloudnative-pg/0.23.0/defaults/cm.yaml +++ b/services/cloudnative-pg/0.23.0/defaults/cm.yaml @@ -6,4 +6,6 @@ metadata: namespace: ${releaseNamespace} data: values.yaml: |- - --- + config: + data: + INHERITED_LABELS: "prometheus.kommander.d2iq.io/select" diff --git a/services/harbor/1.16.0/defaults/database.yaml b/services/harbor/1.16.0/defaults/database.yaml index 3d0d34f68..ab65f4786 100644 --- a/services/harbor/1.16.0/defaults/database.yaml +++ b/services/harbor/1.16.0/defaults/database.yaml @@ -14,5 +14,9 @@ data: size: 10Gi initdb: database: harbor + monitoring: + enabled: true + additionalLabels: + prometheus.kommander.d2iq.io/select: "true" backups: enabled: false