Skip to content

Commit

Permalink
adding scheduled backup
Browse files Browse the repository at this point in the history
  • Loading branch information
creedasaurus committed Jun 18, 2024
1 parent 7122d07 commit c1eef5d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/infra/authentik/kustomization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ resources:
- namespace.yml
- secrets.yml
- database.yml
- scheduled-backup.yml
- traefik-middleware.yml
helmCharts:
- name: authentik
Expand Down
10 changes: 10 additions & 0 deletions apps/infra/authentik/scheduled-backup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: authentik-pg
spec:
schedule: "0 0 0 * * *"
immediate: true
backupOwnerReference: self
cluster:
name: authentik-pg

0 comments on commit c1eef5d

Please sign in to comment.