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: