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