chore: Update manifests after change

This commit is contained in:
2025-12-11 22:11:41 +00:00
parent 8157b449f9
commit 4237288380
4 changed files with 55 additions and 26 deletions

View File

@@ -29,6 +29,13 @@ spec:
parameters:
barmanObjectName: "authentik-postgresql-18-garage-local-backup"
serverName: "authentik-postgresql-18-backup-1"
externalClusters:
- name: recovery
plugin:
name: barman-cloud.cloudnative-pg.io
parameters:
barmanObjectName: "authentik-postgresql-18-recovery"
serverName: authentik-postgresql-18-backup-1
storage:
size: 10Gi
storageClass: local-path
@@ -58,22 +65,15 @@ spec:
enablePodMonitor: true
disableDefaultQueries: false
bootstrap:
initdb:
import:
source:
externalCluster: importSource
type: microservice
databases:
- app
schemaOnly: false
recovery:
database: app
source: authentik-postgresql-18-backup-1
externalClusters:
- name: importSource
connectionParameters:
host: "authentik-postgresql-17-cluster-rw"
port: "5432"
user: "app"
dbname: "app"
sslmode: "disable"
password:
name: authentik-postgresql-17-cluster-app
key: password
- name: authentik-postgresql-18-backup-1
plugin:
name: barman-cloud.cloudnative-pg.io
enabled: true
isWALArchiver: false
parameters:
barmanObjectName: "authentik-postgresql-18-recovery"
serverName: authentik-postgresql-18-backup-1

View File

@@ -49,22 +49,22 @@ spec:
valueFrom:
secretKeyRef:
key: host
name: authentik-postgresql-17-cluster-app
name: authentik-postgresql-18-cluster-app
- name: AUTHENTIK_POSTGRESQL__NAME
valueFrom:
secretKeyRef:
key: dbname
name: authentik-postgresql-17-cluster-app
name: authentik-postgresql-18-cluster-app
- name: AUTHENTIK_POSTGRESQL__USER
valueFrom:
secretKeyRef:
key: user
name: authentik-postgresql-17-cluster-app
name: authentik-postgresql-18-cluster-app
- name: AUTHENTIK_POSTGRESQL__PASSWORD
valueFrom:
secretKeyRef:
key: password
name: authentik-postgresql-17-cluster-app
name: authentik-postgresql-18-cluster-app
- name: AUTHENTIK_LISTEN__HTTP
value: "0.0.0.0:9000"
- name: AUTHENTIK_LISTEN__HTTPS

View File

@@ -50,22 +50,22 @@ spec:
valueFrom:
secretKeyRef:
key: host
name: authentik-postgresql-17-cluster-app
name: authentik-postgresql-18-cluster-app
- name: AUTHENTIK_POSTGRESQL__NAME
valueFrom:
secretKeyRef:
key: dbname
name: authentik-postgresql-17-cluster-app
name: authentik-postgresql-18-cluster-app
- name: AUTHENTIK_POSTGRESQL__USER
valueFrom:
secretKeyRef:
key: user
name: authentik-postgresql-17-cluster-app
name: authentik-postgresql-18-cluster-app
- name: AUTHENTIK_POSTGRESQL__PASSWORD
valueFrom:
secretKeyRef:
key: password
name: authentik-postgresql-17-cluster-app
name: authentik-postgresql-18-cluster-app
- name: AUTHENTIK_LISTEN__HTTP
value: "0.0.0.0:9000"
- name: AUTHENTIK_LISTEN__METRICS

View File

@@ -0,0 +1,29 @@
apiVersion: barmancloud.cnpg.io/v1
kind: ObjectStore
metadata:
name: "authentik-postgresql-18-recovery"
namespace: authentik
labels:
helm.sh/chart: postgres-18-cluster-6.16.1
app.kubernetes.io/name: authentik-postgresql-18
app.kubernetes.io/instance: authentik
app.kubernetes.io/part-of: authentik
app.kubernetes.io/version: "6.16.1"
app.kubernetes.io/managed-by: Helm
spec:
configuration:
destinationPath: s3://postgres-backups/cl01tl/authentik/authentik-postgresql-18-cluster
endpointURL: http://garage-main.garage:3900
wal:
compression: snappy
maxParallel: 1
data:
compression: snappy
jobs: 1
s3Credentials:
accessKeyId:
name: authentik-postgresql-18-cluster-backup-secret-garage
key: ACCESS_KEY_ID
secretAccessKey:
name: authentik-postgresql-18-cluster-backup-secret-garage
key: ACCESS_SECRET_KEY