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, }, },