Merge pull request #3 from secustor/feat/template-vector-type
feat(immich): provide option for pgvector initialization
This commit is contained in:
commit
229d51e158
3 changed files with 8 additions and 1 deletions
|
@ -3,5 +3,5 @@ name: immich
|
||||||
description: A Immich Helm chart targeted at advanced users
|
description: A Immich Helm chart targeted at advanced users
|
||||||
|
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.2.0
|
||||||
appVersion: "v1.124.2"
|
appVersion: "v1.124.2"
|
||||||
|
|
|
@ -39,6 +39,8 @@ spec:
|
||||||
containerPort: {{ .Values.server.service.port }}
|
containerPort: {{ .Values.server.service.port }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
env:
|
env:
|
||||||
|
- name: DB_VECTOR_EXTENSION
|
||||||
|
value: {{ .Values.common.config.vectorExtension }}
|
||||||
{{- with .Values.common.postgres }}
|
{{- with .Values.common.postgres }}
|
||||||
- name: DB_HOSTNAME
|
- name: DB_HOSTNAME
|
||||||
value: {{ .host }}
|
value: {{ .host }}
|
||||||
|
|
|
@ -4,8 +4,13 @@ fullnameOverride: ""
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
|
||||||
|
|
||||||
# Configurations that are relevant for all the components of the chart
|
# Configurations that are relevant for all the components of the chart
|
||||||
common:
|
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:
|
postgres:
|
||||||
host: immich-db
|
host: immich-db
|
||||||
existingSecret:
|
existingSecret:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue