Skip to content

Commit

Permalink
nit: move this in with the db file
Browse files Browse the repository at this point in the history
  • Loading branch information
creedasaurus committed Jun 18, 2024
1 parent bf60581 commit e408e72
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
13 changes: 12 additions & 1 deletion apps/infra/authentik/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
maxParallel: 8
destinationPath: s3://cloudnative-pg/
endpointURL: https://s3.vulf.haus
# Note: serverName version needs to be inclemented
# Note: serverName version needs to be incremented
# when recovering from an existing cnpg cluster
serverName: &currentCluster authentik-pg-v1
s3Credentials:
Expand All @@ -46,3 +46,14 @@ spec:
secretAccessKey:
name: authentik-pg-backup-creds
key: aws-secret-access-key
---
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: authentik-pg
spec:
schedule: "0 0 0 * * *"
immediate: true
backupOwnerReference: self
cluster:
name: authentik-pg
1 change: 0 additions & 1 deletion apps/infra/authentik/kustomization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ resources:
- namespace.yml
- secrets.yml
- database.yml
- scheduled-backup.yml
- traefik-middleware.yml
helmCharts:
- name: authentik
Expand Down
10 changes: 0 additions & 10 deletions apps/infra/authentik/scheduled-backup.yml

This file was deleted.

0 comments on commit e408e72

Please sign in to comment.