From 59a42f1c63a37b8f43198891ebbda0a2abb50a67 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Thu, 24 Aug 2023 17:13:58 -0400 Subject: [PATCH] feat: enable service monitors for postgresql and redis --- cluster/apps/database/postgresql/helm-release.yaml | 5 +++++ cluster/apps/database/redis/helm-release.yaml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/cluster/apps/database/postgresql/helm-release.yaml b/cluster/apps/database/postgresql/helm-release.yaml index 283d3e1..1c51a1c 100644 --- a/cluster/apps/database/postgresql/helm-release.yaml +++ b/cluster/apps/database/postgresql/helm-release.yaml @@ -20,6 +20,11 @@ spec: adminPasswordKey: "adminPassword" replicationPasswordKey: "replicationPassword" + serviceMonitor: + enabled: true + labels: + release: kube-prometheus-stack + volumePermissions: enabled: true diff --git a/cluster/apps/database/redis/helm-release.yaml b/cluster/apps/database/redis/helm-release.yaml index 271bd91..09e1967 100644 --- a/cluster/apps/database/redis/helm-release.yaml +++ b/cluster/apps/database/redis/helm-release.yaml @@ -18,6 +18,11 @@ spec: existingSecret: "redis-secrets" existingSecretPasswordKey: "password" + serviceMonitor: + enabled: true + additionalLabels: + release: kube-prometheus-stack + master: podSecurityContext: enabled: true