--- # 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 media-browser namespace: default spec: interval: 30m chart: spec: chart: app-template version: 2.6.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: controllers: main: annotations: reloader.stakater.com/auto: "true" containers: main: image: repository: docker.io/filebrowser/filebrowser tag: v2.27.0@sha256:00b75afd52a92e4525e3bcaf61caa2a31b8d878a5b371380686b1145cb0424fd env: TZ: "${TIMEZONE}" FB_DATABASE: "/config/filebrowser.db" FB_ROOT: "/mnt/storage" FB_LOG: "stdout" FB_NOAUTH: "true" probes: liveness: &probes enabled: true custom: true spec: httpGet: path: /health port: &port 80 initialDelaySeconds: 0 periodSeconds: 10 timeoutSeconds: 1 failureThreshold: 3 readiness: *probes startup: enabled: false resources: requests: cpu: 10m memory: 50Mi limits: memory: 500Mi service: main: ports: http: port: *port ingress: main: enabled: true className: "nginx" annotations: nginx.ingress.kubernetes.io/auth-method: GET nginx.ingress.kubernetes.io/auth-url: http://authelia.default.svc.cluster.local.:8888/api/verify nginx.ingress.kubernetes.io/auth-signin: https://auth.${SECRET_CLUSTER_DOMAIN}?rm=$request_method nginx.ingress.kubernetes.io/auth-response-headers: Remote-User,Remote-Name,Remote-Groups,Remote-Email nginx.ingress.kubernetes.io/auth-snippet: proxy_set_header X-Forwarded-Method $request_method; hajimari.io/icon: mdi:folder-play-outline 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 globalMounts: - path: /mnt/storage/photo video: enabled: true type: nfs server: "192.168.9.10" path: /mnt/storage/video globalMounts: - path: /mnt/storage/video