kube/immich/values.yaml
2025-05-25 20:47:30 +02:00

120 lines
3.3 KiB
YAML

## This chart relies on the common library chart from bjw-s
## You can find it at https://github.com/bjw-s-labs/helm-charts/tree/923ef40a39520979c98f354ea23963ee54f54433/charts/library/common
## Refer there for more detail about the supported values
# These entries are shared between all the Immich components
env:
- name: REDIS_HOSTNAME
value: "immich-redis-master"
- name: IMMICH_MACHINE_LEARNING_URL
value: "http://immich-machine-learning:3003"
- name: DB_HOSTNAME
value: "immich-postgresdb"
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
# Retrieve postgres password from a secret
name: immich-postgresdb-creds
key: POSTGRES_PASSWORD
- name: DB_USERNAME
valueFrom:
secretKeyRef:
# Retrieve postgres password from a secret
name: immich-postgresdb-creds
key: POSTGRES_USER
- name: DB_DATABASE_NAME
valueFrom:
secretKeyRef:
# Retrieve postgres password from a secret
name: immich-postgresdb-creds
key: POSTGRES_DB
image:
tag: v1.133.1
immich:
metrics:
# Enabling this will create the service monitors needed to monitor immich with the prometheus operator
enabled: false
persistence:
# Main data store for all photos shared between different components.
library:
# Automatically creating the library volume is not supported by this chart
# You have to specify an existing PVC to use
existingClaim: immich-persistent-volume-claim
# configuration is immich-config.json converted to yaml
# ref: https://immich.app/docs/install/config-file/
#
configuration: {}
# trash:
# enabled: false
# days: 30
# storageTemplate:
# enabled: true
# template: "{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}"
# Dependencies
# DEPRECATED
# The postgres subchart is deprecated and will be removed in chart version 0.10.0
# See https://github.com/immich-app/immich-charts/issues/149 for more detail.
postgresql:
enabled: false
image:
repository: tensorchord/pgvecto-rs
tag: pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52
global:
postgresql:
auth:
existingSecret: immich-postgresdb-creds
primary:
containerSecurityContext:
readOnlyRootFilesystem: false
initdb:
scripts:
create-extensions.sql: |
CREATE EXTENSION cube;
CREATE EXTENSION earthdistance;
CREATE EXTENSION vectors;
redis:
enabled: true
architecture: standalone
auth:
enabled: false
# Immich components
server:
enabled: true
image:
repository: ghcr.io/immich-app/immich-server
pullPolicy: IfNotPresent
ingress:
main:
enabled: false
annotations:
# proxy-body-size is set to 0 to remove the body limit on file uploads
nginx.ingress.kubernetes.io/proxy-body-size: "0"
hosts:
- host: immich.reault.tech
paths:
- path: "/"
tls: []
machine-learning:
enabled: true
image:
repository: ghcr.io/immich-app/immich-machine-learning
pullPolicy: IfNotPresent
env:
TRANSFORMERS_CACHE: /cache
persistence:
cache:
enabled: true
size: 10Gi
# Optional: Set this to pvc to avoid downloading the ML models every start.
type: emptyDir
accessMode: ReadWriteOnce
# storageClass: your-class