--- # yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json apiVersion: helm.toolkit.fluxcd.io/v2beta2 kind: HelmRelease metadata: name: &app jellyfin namespace: default spec: interval: 30m chart: spec: chart: app-template version: 2.5.0 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 values: defaultPodOptions: enableServiceLinks: false nodeSelector: intel.feature.node.kubernetes.io/gpu: "true" securityContext: runAsUser: 568 runAsGroup: 568 fsGroup: 568 fsGroupChangePolicy: OnRootMismatch controllers: main: annotations: reloader.stakater.com/auto: "true" containers: main: image: repository: ghcr.io/onedr0p/jellyfin tag: 10.8.11@sha256:926e2a9f6677a0c7b12feba29f36c954154869318d6a52df72f72ff9c74cf494 env: DOTNET_SYSTEM_IO_DISABLEFILELOCKING: "true" JELLYFIN_FFmpeg__probesize: 50000000 JELLYFIN_FFmpeg__analyzeduration: 50000000 JELLYFIN_PublishedServerUrl: &loadBalancerIP ${CLUSTER_LB_JELLYFIN} TZ: ${TIMEZONE} probes: liveness: &probes enabled: true custom: true spec: httpGet: path: /health port: &port 8096 initialDelaySeconds: 0 periodSeconds: 10 timeoutSeconds: 1 failureThreshold: 3 readiness: *probes startup: enabled: false resources: requests: gpu.intel.com/i915: 1 cpu: 100m memory: 512Mi limits: gpu.intel.com/i915: 1 memory: 4Gi service: main: type: LoadBalancer loadBalancerIP: *loadBalancerIP externalTrafficPolicy: Local ports: http: port: 8096 ingress: main: enabled: true className: "nginx" annotations: external-dns.alpha.kubernetes.io/enabled: "true" external-dns.alpha.kubernetes.io/target: services.${SECRET_DOMAIN}. hajimari.io/icon: simple-icons:jellyfin hosts: - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" paths: - path: / service: name: main port: http tls: - hosts: - *host persistence: config: enabled: true existingClaim: *app globalMounts: - path: /config music: enabled: true type: nfs server: "192.168.9.10" path: /mnt/storage/music globalMounts: - path: /mnt/storage/music photo: enabled: true type: nfs server: "192.168.9.10" path: /mnt/storage/photo mountPath: /mnt/storage/photo globalMounts: - path: /mnt/storage/photo video: enabled: true type: nfs server: "192.168.9.10" path: /mnt/storage/video globalMounts: - path: /mnt/storage/video transcode: enabled: true type: emptyDir globalMounts: - path: /transcode cache: enabled: true type: emptyDir globalMounts: - path: /cache