--- # 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: redis values: controller: replicas: 1 strategy: RollingUpdate 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.78.1 envFrom: - configMapRef: name: *configMap - secretRef: name: *secret service: main: ports: http: port: 3003 persistence: library: enabled: true existingClaim: immich-nfs mountPath: /usr/src/app/upload cache: enabled: true type: emptyDir topologySpreadConstraints: - maxSkew: 1 topologyKey: kubernetes.io/hostname whenUnsatisfiable: DoNotSchedule labelSelector: matchLabels: app.kubernetes.io/name: *app resources: requests: cpu: 100m memory: 250Mi