mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 22:29:09 +01:00
24 lines
590 B
YAML
24 lines
590 B
YAML
apiVersion: postgresql.cnpg.io/v1
|
|
kind: Cluster
|
|
metadata:
|
|
name: authentik-postgres
|
|
spec:
|
|
instances: 1
|
|
# Pinned so a new operator default (PostgreSQL 18 since CNPG 1.26.3) can't
|
|
# start an in-place major upgrade. CNPG filled this in at creation.
|
|
imageName: ghcr.io/cloudnative-pg/postgresql:17.4
|
|
primaryUpdateStrategy: unsupervised
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 256Mi
|
|
bootstrap:
|
|
initdb:
|
|
database: authentik
|
|
owner: authentik
|
|
secret:
|
|
name: authentik-postgres-credentials
|
|
storage:
|
|
storageClass: longhorn
|
|
size: 8Gi
|