diff --git a/charts/immich/Chart.yaml b/charts/immich/Chart.yaml index 7605f499..687411d9 100644 --- a/charts/immich/Chart.yaml +++ b/charts/immich/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 description: A chart to power Immich (immich.app) running on kubernetes name: immich -version: 0.2.0 -appVersion: v1.88.0 +version: 0.3.0 +appVersion: v1.91.0 home: https://immich.app/ icon: https://raw.githubusercontent.com/immich-app/immich/main/design/immich-logo.svg sources: @@ -21,13 +21,13 @@ dependencies: - name: postgresql condition: postgresql.enabled repository: https://charts.bitnami.com/bitnami - version: 11.8.1 + version: 13.2.24 - name: redis condition: redis.enabled repository: https://charts.bitnami.com/bitnami - version: 17.11.6 + version: 18.4.0 annotations: artifacthub.io/category: storage artifacthub.io/changes: |- - kind: changed - description: Polish for better display on artifacthub + description: Remove typesense, add pgvecto.rs diff --git a/charts/immich/templates/typesense.yaml b/charts/immich/templates/typesense.yaml deleted file mode 100644 index 3db250ec..00000000 --- a/charts/immich/templates/typesense.yaml +++ /dev/null @@ -1,39 +0,0 @@ -{{- define "immich.typesense.hardcodedValues" -}} -global: - nameOverride: typesense - -service: - main: - enabled: true - primary: true - type: ClusterIP - ports: - http: - enabled: true - primary: true - port: 8108 - protocol: HTTP - -probes: - liveness: &probes - enabled: true - custom: true - spec: - httpGet: - path: /health - port: http - initialDelaySeconds: 0 - periodSeconds: 10 - timeoutSeconds: 1 - failureThreshold: 3 - readiness: *probes - startup: - enabled: false -{{- end }} - -{{ if .Values.typesense.enabled }} -{{- $ctx := deepCopy . -}} -{{- $_ := get .Values "typesense" | mergeOverwrite $ctx.Values -}} -{{- $_ = include "immich.typesense.hardcodedValues" . | fromYaml | merge $ctx.Values -}} -{{- include "bjw-s.common.loader.all" $ctx }} -{{ end }} \ No newline at end of file diff --git a/charts/immich/values.yaml b/charts/immich/values.yaml index ec3fa56e..61ebf321 100644 --- a/charts/immich/values.yaml +++ b/charts/immich/values.yaml @@ -11,13 +11,10 @@ env: DB_DATABASE_NAME: "{{ .Values.postgresql.global.postgresql.auth.database }}" # -- You should provide your own secret outside of this helm-chart and use `postgresql.global.postgresql.auth.existingSecret` to provide credentials to the postgresql instance DB_PASSWORD: "{{ .Values.postgresql.global.postgresql.auth.password }}" - TYPESENSE_ENABLED: "{{ .Values.typesense.enabled }}" - TYPESENSE_API_KEY: "{{ .Values.typesense.env.TYPESENSE_API_KEY }}" - TYPESENSE_HOST: '{{ printf "%s-typesense" .Release.Name }}' IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}' image: - tag: v1.88.0 + tag: v1.91.0 immich: persistence: @@ -31,12 +28,22 @@ immich: postgresql: enabled: false + image: + repository: tensorchord/pgvecto-rs + tag: pg14-v0.1.11 global: postgresql: auth: username: immich database: immich password: immich + primary: + initdb: + scripts: + create-extensions.sql: | + CREATE EXTENSION cube; + CREATE EXTENSION earthdistance; + CREATE EXTENSION vectors; redis: enabled: false @@ -44,23 +51,6 @@ redis: auth: enabled: false -typesense: - enabled: false - env: - TYPESENSE_DATA_DIR: /tsdata - TYPESENSE_API_KEY: typesense - persistence: - tsdata: - # Enabling typesense persistence is recommended to avoid slow reindexing - enabled: false - accessMode: ReadWriteOnce - size: 1Gi - # storageClass: storage-class - image: - repository: docker.io/typesense/typesense - tag: 0.24.0 - pullPolicy: IfNotPresent - # Immich components server: @@ -83,16 +73,6 @@ server: microservices: enabled: true - env: - REVERSE_GEOCODING_DUMP_DIRECTORY: /geodata-cache - persistence: - geodata-cache: - enabled: true - size: 1Gi - # Optional: Set this to pvc to avoid downloading the geodata every start. - type: emptyDir - accessMode: ReadWriteMany - # storageClass: your-class image: repository: ghcr.io/immich-app/immich-server pullPolicy: IfNotPresent