From 568ff119d9bf80f065b5c0a04409a8d7cd48de92 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Wed, 25 Mar 2026 06:27:16 -0500 Subject: [PATCH] feat: add backup retention limits for Postgres --- manifests/databases/postgres-cluster.yaml | 1 + manifests/gitea/postgres.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/manifests/databases/postgres-cluster.yaml b/manifests/databases/postgres-cluster.yaml index a232b15..d1c0b6e 100644 --- a/manifests/databases/postgres-cluster.yaml +++ b/manifests/databases/postgres-cluster.yaml @@ -74,6 +74,7 @@ spec: key: password wal: compression: gzip + retentionPolicy: "30d" --- apiVersion: postgresql.cnpg.io/v1 kind: ScheduledBackup diff --git a/manifests/gitea/postgres.yaml b/manifests/gitea/postgres.yaml index f96abcd..4d49431 100644 --- a/manifests/gitea/postgres.yaml +++ b/manifests/gitea/postgres.yaml @@ -70,6 +70,7 @@ spec: key: password wal: compression: gzip + retentionPolicy: "30d" --- apiVersion: postgresql.cnpg.io/v1 kind: ScheduledBackup