add tagging to postgres backups

This commit is contained in:
2024-09-27 22:01:18 -05:00
parent 716f336187
commit e4c107b472
50 changed files with 199 additions and 75 deletions

View File

@@ -34,7 +34,7 @@ dependencies:
repository: https://charts.bitnami.com/bitnami
- name: postgres-cluster
alias: postgres-16-cluster
version: 3.9.0
version: 3.10.0
repository: http://alexlebens.github.io/helm-charts
icon: https://raw.githubusercontent.com/stalwartlabs/website/main/static/img/logo.png
appVersion: v0.9.0
appVersion: v0.9.4

View File

@@ -55,7 +55,7 @@ stalwart:
tls:
- secretName: stalwart-cl01tl
hosts:
- stalwart-cl01tl
- stalwart-cl01tl
persistence:
config:
storageClass: ceph-block
@@ -107,4 +107,9 @@ postgres-16-cluster:
destinationPath: s3://cl01tl-postgresql-backups/stalwart
endpointCredentials: stalwart-postgresql-16-cluster-backup-secret
backupIndex: 1
retentionPolicy: 14d
tags:
backupRetentionPolicy: "expire"
user: "cl01tl-stalwart-postgresql"
historyTags:
backupRetentionPolicy: "keep"
user: "cl01tl-stalwart-postgresql"