Files
test/immich/cnpg.yaml
T
2026-11-18 22:34:02 -05:00

29 lines
727 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: immich-database
namespace: immich
spec:
instances: 1
storage:
size: 1Gi
imageName: ghcr.io/cloudnative-pg/postgresql:18.6-standard-trixie
bootstrap:
initdb:
database: immich
owner: immich
secret: immich-postgres-user
postgresql:
shared_preload_libraries:
- "vchord.so"
# This extension is loaded via the Database CRD at cloudnative-pg-database.yaml
extensions:
- name: vchord
image:
reference: ghcr.io/tensorchord/vchord-scratch:pg18-v1.1.1
dynamic_library_path:
- /usr/lib/postgresql/18/lib
extension_control_path:
- /usr/share/postgresql/18/