--- # yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helmrelease_v2beta1.json apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: &app immich-server namespace: default spec: interval: 15m chart: spec: chart: app-template version: 1.4.0 sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system maxHistory: 3 install: createNamespace: true remediation: retries: 3 upgrade: cleanupOnFail: true remediation: retries: 3 uninstall: keepHistory: false dependsOn: - name: immich-redis - name: immich-typesense values: initContainers: 01-init-db: image: ghcr.io/onedr0p/postgres-initdb:14.7 imagePullPolicy: IfNotPresent envFrom: - secretRef: name: immich-secret controller: replicas: 2 strategy: RollingUpdate annotations: reloader.stakater.com/auto: "true" image: repository: ghcr.io/immich-app/immich-server tag: v1.54.1 command: /bin/sh args: - ./start-server.sh envFrom: - secretRef: name: immich-secret - configMapRef: name: immich-configmap service: main: ports: http: port: 3001 persistence: library: enabled: true existingClaim: immich-nfs mountPath: /usr/src/app/upload topologySpreadConstraints: - maxSkew: 1 topologyKey: kubernetes.io/hostname whenUnsatisfiable: DoNotSchedule labelSelector: matchLabels: app.kubernetes.io/name: *app resources: requests: cpu: 100m memory: 250Mi