30 lines
556 B
YAML
30 lines
556 B
YAML
apiVersion: postgresql.cnpg.io/v1
|
|
kind: Cluster
|
|
metadata:
|
|
name: pg-authelia
|
|
spec:
|
|
instances: 1
|
|
|
|
storage:
|
|
size: 1Gi
|
|
|
|
# Credentials in secret pg-authelia-app
|
|
# https://cloudnative-pg.io/documentation/1.24/applications/#secrets
|
|
|
|
bootstrap:
|
|
initdb:
|
|
database: authelia
|
|
|
|
# enableSuperuserAccess: true
|
|
|
|
# resources:
|
|
# requests:
|
|
# memory: "512Mi"
|
|
# cpu: "1"
|
|
# limits:
|
|
# memory: "1Gi"
|
|
# cpu: "2"
|
|
|
|
# affinity:
|
|
# enablePodAntiAffinity: true
|
|
# topologyKey: failure-domain.beta.kubernetes.io/zone
|