From 6476fa03fed6b95e11ee72bd74d9ab05a3df7950 Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Sun, 24 Dec 2023 01:11:48 +0000 Subject: [PATCH] vectors extension for immich --- homelab/postgres-cluster.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/homelab/postgres-cluster.yml b/homelab/postgres-cluster.yml index 2d32f53..563a577 100644 --- a/homelab/postgres-cluster.yml +++ b/homelab/postgres-cluster.yml @@ -3,7 +3,7 @@ kind: PostgresCluster metadata: name: hippo spec: - image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-15.4-1 + image: git.gmem.ca/arch/custom-postgres@sha256:e8e4b522b6912cb56924695bf6cf233d6162b3eafecf4d7abd050ebbfe83b0ac postgresVersion: 15 databaseInitSQL: key: init.sql @@ -17,6 +17,11 @@ spec: resources: requests: storage: 1Gi + patroni: + dynamicConfiguration: + postgresql: + parameters: + shared_preload_libraries: vectors backups: pgbackrest: manual: @@ -62,6 +67,7 @@ data: GRANT CREATE ON SCHEMA public TO "authentik"; \c immich GRANT CREATE ON SCHEMA public TO "immich"; + CREATE EXTENSION vectors; --- apiVersion: monitoring.coreos.com/v1 kind: PodMonitor