diff --git a/apps/backup/postgresql/authentik/kustomization.yaml b/apps/backup/postgresql/authentik/kustomization.yaml index 7bca5db..72fade3 100644 --- a/apps/backup/postgresql/authentik/kustomization.yaml +++ b/apps/backup/postgresql/authentik/kustomization.yaml @@ -19,6 +19,9 @@ patches: - name: pg-dump env: - {name: BACKUP_TARGET, value: authentik} + - {name: BACKUP_MODE, value: database} - {name: PGHOST, value: authentik-postgresql} + - {name: PGUSER, value: authentik} + - {name: PGDATABASE, value: authentik} - name: PGPASSWORD - valueFrom: {secretKeyRef: {name: authentik-postgresql, key: postgres-password}} + valueFrom: {secretKeyRef: {name: authentik-postgresql, key: password}}