feat(immich): provide option for pgvector initialization

This commit is contained in:
secustor 2025-01-17 23:37:38 +01:00
parent 1548893c4c
commit a8335e5852
No known key found for this signature in database
3 changed files with 8 additions and 1 deletions

View file

@ -3,5 +3,5 @@ name: immich
description: A Immich Helm chart targeted at advanced users
type: application
version: 0.1.0
version: 0.2.0
appVersion: "v1.124.2"

View file

@ -39,6 +39,8 @@ spec:
containerPort: {{ .Values.server.service.port }}
protocol: TCP
env:
- name: DB_VECTOR_EXTENSION
value: {{ .Values.common.config.vectorExtension }}
{{- with .Values.common.postgres }}
- name: DB_HOSTNAME
value: {{ .host }}

View file

@ -4,8 +4,13 @@ fullnameOverride: ""
imagePullSecrets: []
# Configurations that are relevant for all the components of the chart
common:
config:
# This has only an effect during database initialization
# pgvector is the default as CloudNativePG supports it out of the box
vectorExtension: pgvector # or pgvecto.rs
postgres:
host: immich-db
existingSecret: