Files
homelab-v/k8s/infra/auth/authelia/cnpg-db.yaml
T
Vegard Hagen ee41262cc2 feat(bgp): enable bgp in cilium and disable l2 announcements
Change IP of all LB Services to a different subnet

Use externalTrafficPolicy on some LB Services

Signed-off-by: Vegard Hagen <[email protected]>
2025-11-16 18:59:51 +01:00

40 lines
927 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: authelia-postgres
namespace: authelia
spec:
instances: 1
affinity:
nodeSelector:
topology.kubernetes.io/zone: euclid
monitoring:
enablePodMonitor: true
postgresql:
parameters:
timezone: Europe/Oslo
bootstrap:
initdb:
database: authelia
owner: authelia
managed:
services:
disabledDefaultServices: [ "ro", "r" ]
# additional:
# - selectorType: rw
# updateStrategy: patch
# serviceTemplate:
# metadata:
# name: authelia-postgres-db
# annotations:
# io.cilium/lb-ipam-ips: 172.20.10.241
# spec:
# type: LoadBalancer
storage:
size: 1G
pvcTemplate:
storageClassName: proxmox-csi
volumeName: pv-authelia-postgres
accessModes:
- ReadWriteOnce