From a5cb3222550f374910d9a501ec725b6dada92bbf Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Sat, 7 Jun 2025 03:05:57 -0400 Subject: [PATCH] cluster again --- immich/cluster.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/immich/cluster.yaml b/immich/cluster.yaml index 2ed3473..387d862 100644 --- a/immich/cluster.yaml +++ b/immich/cluster.yaml @@ -24,16 +24,16 @@ spec: owner: immich secret: name: immich-postgres-user - postInitSQL: - - 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 + postInitSQL: + - CREATE EXTENSION IF NOT EXISTS "vectors"; + - CREATE EXTENSION IF NOT EXISTS "cube" CASCADE; + - CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE; storage: size: 8Gi @@ -43,7 +43,7 @@ spec: - name: immich-postgresql connectionParameters: # Use the correct IP or host name for the source database - host: immich-postgresql + host: immich-postgresql.immich.svc.cluster.local user: immich dbname: immich password: