From fb45338f25bedd832b24e78818d170ce36b356ca Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sun, 24 Apr 2022 23:14:13 +0200
Subject: [PATCH] fix(matrix): Remove obsolete podMonitor

The podmonitor object is now provided by the postgres-system namespace.
---
 apps/base/matrix/database.yaml | 26 --------------------------
 1 file changed, 26 deletions(-)

diff --git a/apps/base/matrix/database.yaml b/apps/base/matrix/database.yaml
index e6b87d010..d80a855bb 100644
--- a/apps/base/matrix/database.yaml
+++ b/apps/base/matrix/database.yaml
@@ -28,29 +28,3 @@ spec:
     limits:
       cpu: "1"
       memory: 3072Mi
----
-apiVersion: monitoring.coreos.com/v1
-kind: PodMonitor
-metadata:
-  name: matrix-postgres
-  namespace: matrix
-  labels:
-    app: matrix-postgres
-spec:
-  namespaceSelector:
-    matchNames:
-      - matrix
-  selector:
-    matchLabels:
-      cluster-name: matrix-postgres
-  podMetricsEndpoints:
-    - port: exporter
-      interval: 15s
-      scrapeTimeout: 10s
-    - targetPort: 8008
-      interval: 15s
-      scrapeTimeout: 10s
-  podTargetLabels:
-    - spilo-role
-    - cluster-name
-    - team
-- 
GitLab