hive-apps/.archive/auth/manifests/postgre.yaml

44 lines
837 B
YAML
Raw Permalink Normal View History

2022-12-13 12:47:52 +00:00
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: authentik-db
2023-08-07 18:57:47 +00:00
namespace: auth
2022-12-13 12:47:52 +00:00
spec:
instances: 1
imageName: ghcr.io/cloudnative-pg/postgresql:15
bootstrap:
initdb:
database: app
owner: app
backup:
barmanObjectStore:
2024-02-02 18:05:25 +00:00
destinationPath: "s3://authentik-backup/"
endpointURL: "http://s3-minio.s3.svc.cluster.local:9000"
2022-12-13 12:47:52 +00:00
s3Credentials:
accessKeyId:
name: bucket
key: accesskey
secretAccessKey:
name: bucket
key: secretkey
wal:
compression: gzip
#encryption: AES256
data:
compression: gzip
#encryption: AES256
retentionPolicy: "90d"
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "1Gi"
cpu: "1"
storage:
size: 10Gi