Files
homeserver/kubernetes/immich/immichDatabase.yaml
Taqi Tahmid 2ee0c95869
All checks were successful
ci/woodpecker/push/demo-workflow Pipeline was successful
kubernetes: add and update new and existing projects
2025-10-05 16:32:56 +03:00

38 lines
750 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: immich-database
spec:
instances: 1
imageName: ghcr.io/tensorchord/cloudnative-vectorchord:16.9-0.4.3
postgresql:
shared_preload_libraries:
- "vectors.so"
- "vchord.so"
managed:
roles:
- name: immich
superuser: true
login: true
postgresql:
shared_preload_libraries:
- "vchord.so"
bootstrap:
initdb:
postInitApplicationSQL:
- CREATE EXTENSION vchord CASCADE;
- CREATE EXTENSION earthdistance CASCADE;
plugins:
- name: barman-cloud.cloudnative-pg.io
isWALArchiver: true
parameters:
barmanObjectName: immich-minio-store
storage:
storageClass: longhorn-2x
size: 5Gi