pg backup as well

This commit is contained in:
2023-11-28 22:28:34 +01:00
parent 7fcc5738bd
commit c762a58080
7 changed files with 99 additions and 32 deletions

View File

@@ -4,3 +4,4 @@ resources:
- secrets.application.yaml
- backup.application.yaml
- prune.application.yaml
- postgres.backup.application.yaml

View File

@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: postgres-backup-application
namespace: argocd
spec:
project: infrastructure
source:
repoURL: https://github.com/moll-re/k3s-infra.git
targetRevision: main
path: infrastructure/backup/postgres
destination:
server: https://kubernetes.default.svc
namespace: backup
syncPolicy:
automated:
prune: true
selfHeal: true