--- # yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: &app immich-machine-learning namespace: default spec: interval: 30m chart: spec: chart: app-template version: 2.3.0 interval: 30m sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system dependsOn: - name: immich-server - name: immich-redis values: controllers: main: strategy: Recreate annotations: configmap.reloader.stakater.com/reload: &configMap immich-configmap secret.reloader.stakater.com/reload: &secret immich-secret containers: main: image: repository: ghcr.io/immich-app/immich-machine-learning tag: v1.89.0 envFrom: - configMapRef: name: *configMap - secretRef: name: *secret resources: requests: cpu: 100m memory: 274M limits: memory: 3949M pod: enableServiceLinks: false securityContext: runAsUser: 568 runAsGroup: 568 fsGroup: 568 fsGroupChangePolicy: OnRootMismatch topologySpreadConstraints: - maxSkew: 1 topologyKey: kubernetes.io/hostname whenUnsatisfiable: DoNotSchedule labelSelector: matchLabels: app.kubernetes.io/name: *app service: main: ports: http: port: 3003 persistence: library: type: persistentVolumeClaim existingClaim: immich-nfs globalMounts: - path: /usr/src/app/upload cache: type: persistentVolumeClaim existingClaim: immich-machine-learning-cache globalMounts: - path: /cache geocoding-dump: type: emptyDir globalMounts: - path: /usr/src/app/.reverse-geocoding-dump transformers-cache: type: emptyDir globalMounts: - path: /usr/src/app/.transformers_cache