From c934830a626b1eae38b79946932a1b5dd25c7341 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Sun, 25 Oct 2026 13:22:19 +0100 Subject: [PATCH] Keep Matrix PostgreSQL service on source during staging --- apps/matrix-postgresql/service/service.yaml | 5 +++-- bootstrap/matrix-postgresql.yaml | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/matrix-postgresql/service/service.yaml b/apps/matrix-postgresql/service/service.yaml index 72620af..2a0f87f 100644 --- a/apps/matrix-postgresql/service/service.yaml +++ b/apps/matrix-postgresql/service/service.yaml @@ -11,5 +11,6 @@ spec: protocol: TCP targetPort: 5432 selector: - cnpg.io/cluster: matrix-cnpg - cnpg.io/instanceRole: primary + app.kubernetes.io/component: primary + app.kubernetes.io/instance: postgresql + app.kubernetes.io/name: postgresql diff --git a/bootstrap/matrix-postgresql.yaml b/bootstrap/matrix-postgresql.yaml index 33aa585..73bf910 100644 --- a/bootstrap/matrix-postgresql.yaml +++ b/bootstrap/matrix-postgresql.yaml @@ -14,4 +14,6 @@ spec: namespace: matrix syncPolicy: automated: - enabled: false + enabled: true + prune: true + selfHeal: true