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

@@ -31,7 +31,7 @@ dependencies:
repository: https://meilisearch.github.io/meilisearch-kubernetes
- 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/zoriya/Kyoo/master/icons/icon-256x256.png
appVersion: 4.6.0

View File

@@ -324,7 +324,7 @@ app-template:
valueFrom:
secretKeyRef:
name: kyoo-postgresql-16-cluster-app
key: port
key: port
resources:
limits:
cpu: 5000m
@@ -622,4 +622,9 @@ postgres-16-cluster:
destinationPath: s3://cl01tl-postgresql-backups/kyoo
endpointCredentials: kyoo-postgresql-16-cluster-backup-secret
backupIndex: 1
retentionPolicy: 14d
tags:
backupRetentionPolicy: "expire"
user: "cl01tl-kyoo-postgresql"
historyTags:
backupRetentionPolicy: "keep"
user: "cl01tl-kyoo-postgresql"