From 17fe43ce6c3d1061a17c16dd2b6fed76e7175abb Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Sat, 7 Jun 2025 02:52:04 -0400 Subject: [PATCH] immich cnpg import --- immich/cluster.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/immich/cluster.yaml b/immich/cluster.yaml index 7e8ee05..3337ad9 100644 --- a/immich/cluster.yaml +++ b/immich/cluster.yaml @@ -28,13 +28,19 @@ spec: - CREATE EXTENSION IF NOT EXISTS "vectors"; - CREATE EXTENSION IF NOT EXISTS "cube" CASCADE; - CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE; + import: + type: microservice + databases: + - immich + source: + externalCluster: immich-postgresql storage: size: 8Gi storageClass: longhorn externalClusters: - - name: cluster-pg96 + - name: immich-postgresql connectionParameters: # Use the correct IP or host name for the source database host: "immich-postgresql.immich.svc.cluster.local:5432"