--- # 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: 1.5.1 sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system maxHistory: 2 install: createNamespace: true remediation: retries: 3 upgrade: cleanupOnFail: true remediation: retries: 3 uninstall: keepHistory: false dependsOn: - name: immich-server - name: immich-redis values: controller: strategy: Recreate annotations: configmap.reloader.stakater.com/reload: &configMap immich-configmap secret.reloader.stakater.com/reload: &secret immich-secret image: repository: ghcr.io/immich-app/immich-machine-learning tag: v1.82.1 envFrom: - configMapRef: name: *configMap - secretRef: name: *secret service: main: ports: http: port: 3003 podSecurityContext: runAsUser: 568 runAsGroup: 568 fsGroup: 568 fsGroupChangePolicy: OnRootMismatch persistence: library: enabled: true existingClaim: immich-nfs mountPath: /usr/src/app/upload cache: enabled: true existingClaim: immich-machine-learning-cache mountPath: /cache geocoding-dump: enabled: true type: emptyDir mountPath: /usr/src/app/.reverse-geocoding-dump transformers-cache: enabled: true type: emptyDir mountPath: /usr/src/app/.transformers_cache topologySpreadConstraints: - maxSkew: 1 topologyKey: kubernetes.io/hostname whenUnsatisfiable: DoNotSchedule labelSelector: matchLabels: app.kubernetes.io/name: *app resources: requests: cpu: 100m memory: 250Mi