--- # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json apiVersion: helm.toolkit.fluxcd.io/v2beta2 kind: HelmRelease metadata: name: &name immich namespace: default spec: interval: 30m chart: spec: chart: app-template version: 3.0.4 sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system install: remediation: retries: 3 upgrade: cleanupOnFail: true remediation: retries: 3 strategy: rollback values: controllers: immich-server: type: statefulset annotations: reloader.stakater.com/auto: "true" containers: app: image: repository: ghcr.io/immich-app/immich-server tag: v1.100.0 command: /bin/sh args: - ./start-server.sh probes: startup: enabled: true spec: failureThreshold: 30 periodSeconds: 5 liveness: enabled: true readiness: enabled: true resources: requests: cpu: 100m memory: 512Mi limits: memory: 4Gi env: TZ: America/Chicago DB_URL: valueFrom: secretKeyRef: name: immich-pguser-immich key: uri envFrom: - configMapRef: name: immich-config pod: enableServiceLinks: false securityContext: runAsUser: 568 runAsGroup: 568 fsGroup: 568 fsGroupChangePolicy: OnRootMismatch service: app: controller: immich-server ports: http: port: 3001 ingress: app: enabled: true className: external-nginx annotations: external-dns.alpha.kubernetes.io/cloudflare-proxied: "true" external-dns.alpha.kubernetes.io/target: external.hsn.dev nginx.ingress.kubernetes.io/proxy-body-size: "0" hosts: - host: &host "im.hsn.dev" paths: - path: / service: identifier: app port: http tls: - hosts: - *host persistence: media: enabled: true type: nfs server: 10.1.1.13 path: /eru/media/immich globalMounts: - path: /usr/src/app/upload