cluster again

This commit is contained in:
2025-06-07 03:05:57 -04:00
parent e2cbdf6962
commit a5cb322255

View File

@@ -24,16 +24,16 @@ spec:
owner: immich owner: immich
secret: secret:
name: immich-postgres-user 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: import:
type: microservice type: microservice
databases: databases:
- immich - immich
source: source:
externalCluster: immich-postgresql 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: storage:
size: 8Gi size: 8Gi
@@ -43,7 +43,7 @@ spec:
- name: immich-postgresql - name: immich-postgresql
connectionParameters: connectionParameters:
# Use the correct IP or host name for the source database # Use the correct IP or host name for the source database
host: immich-postgresql host: immich-postgresql.immich.svc.cluster.local
user: immich user: immich
dbname: immich dbname: immich
password: password: