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

View File

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

View File

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