From 0ec15c8e110dccbe007da326e61c08e7ca477665 Mon Sep 17 00:00:00 2001 From: Daniel Cosme Date: Tue, 5 May 2026 14:12:29 -0400 Subject: [PATCH] wip --- infrastructure/hydra/postgres/immich-db.yaml | 2 +- infrastructure/hydra/postgres/pg-cluster.yaml | 2 +- pkg/postgres/postgres.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/infrastructure/hydra/postgres/immich-db.yaml b/infrastructure/hydra/postgres/immich-db.yaml index cedca8a..dd02848 100644 --- a/infrastructure/hydra/postgres/immich-db.yaml +++ b/infrastructure/hydra/postgres/immich-db.yaml @@ -8,7 +8,7 @@ spec: name: cnpg-cluster extensions: - ensure: present - name: pgvector + name: vector name: immich owner: immich status: {} diff --git a/infrastructure/hydra/postgres/pg-cluster.yaml b/infrastructure/hydra/postgres/pg-cluster.yaml index 5156a89..7686413 100644 --- a/infrastructure/hydra/postgres/pg-cluster.yaml +++ b/infrastructure/hydra/postgres/pg-cluster.yaml @@ -17,7 +17,7 @@ spec: extensions: - image: reference: ghcr.io/cloudnative-pg/pgvector:0.8.2-18-trixie - name: pgvector + name: vector syncReplicaElectionConstraint: enabled: false resources: {} diff --git a/pkg/postgres/postgres.go b/pkg/postgres/postgres.go index 308df2f..2c23cd1 100644 --- a/pkg/postgres/postgres.go +++ b/pkg/postgres/postgres.go @@ -39,7 +39,7 @@ func Cluster() pg.Cluster { PostgresConfiguration: pg.PostgresConfiguration{ Extensions: []pg.ExtensionConfiguration{ { - Name: "pgvector", + Name: "vector", ImageVolumeSource: core.ImageVolumeSource{ Reference: "ghcr.io/cloudnative-pg/pgvector:0.8.2-18-trixie", }, @@ -74,7 +74,7 @@ func ImmichDatabase() pg.Database { Extensions: []pg.ExtensionSpec{ { DatabaseObjectSpec: pg.DatabaseObjectSpec{ - Name: "pgvector", + Name: "vector", Ensure: pg.EnsurePresent, }, },