Files
homelab/infrastructure/hydra/postgres/pg-cluster.yaml
2026-05-05 14:08:40 -04:00

38 lines
829 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: cnpg-cluster
namespace: cnpg-cluster
spec:
affinity: {}
imageName: ghcr.io/cloudnative-pg/postgresql:18.3-minimal-trixie
instances: 3
managed:
roles:
- login: true
name: immich
passwordSecret:
name: immich
postgresql:
extensions:
- image:
reference: ghcr.io/cloudnative-pg/pgvector:0.8.2-18-trixie
name: pgvector
syncReplicaElectionConstraint:
enabled: false
resources: {}
storage:
pvcTemplate:
resources: {}
storageClassName: local-path
resizeInUseVolumes: true
size: 10Gi
storageClass: local-path
status:
certificates: {}
configMapResourceVersion: {}
managedRolesStatus: {}
secretsResourceVersion: {}
switchReplicaClusterStatus: {}
topology: {}