--- # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: &app lidarr spec: interval: 30m chart: spec: chart: app-template version: 3.7.3 sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system maxHistory: 2 install: createNamespace: true remediation: retries: 3 upgrade: cleanupOnFail: true remediation: strategy: rollback retries: 3 uninstall: keepHistory: false values: defaultPodOptions: securityContext: runAsUser: 568 runAsGroup: 568 fsGroup: 568 fsGroupChangePolicy: OnRootMismatch controllers: lidarr: annotations: reloader.stakater.com/auto: "true" configmap.reloader.stakater.com/reload: lidarr-pushover secret.reloader.stakater.com/reload: lidarr-db-secret containers: app: image: repository: ghcr.io/crutonjohn/lidarr-plugins tag: 2.10.1.4590@sha256:8d526c844d398dfc74e0687735ce9971c864ed09940b178caeab97c8e2db3756 env: TZ: "${TIMEZONE}" LIDARR__APP__INSTANCENAME: Lidarr LIDARR__SERVER__PORT: &port 8080 LIDARR__LOG__LEVEL: info PUSHOVER_APP_URL: &host "{{ .Release.Name }}.${SECRET_EXTERNAL_DOMAIN}" PUSHOVER_PRIORITY: "0" envFrom: - secretRef: name: lidarr-secret resources: requests: cpu: 10m memory: 250Mi limits: memory: 2000Mi service: app: controller: *app ports: http: port: *port ingress: app: enabled: true className: internal 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_EXTERNAL_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:headphones hosts: - host: *host paths: - path: / service: identifier: app port: http tls: - hosts: - *host persistence: config: enabled: true existingClaim: *app globalMounts: - path: /config music: type: nfs server: 192.168.9.10 path: /var/mnt/vol1/music globalMounts: - path: /mnt/storage/music downloads: type: nfs server: 192.168.9.10 path: /var/mnt/vol1/downloads globalMounts: - path: /mnt/storage/downloads scripts: type: configMap name: lidarr-pushover defaultMode: 0775 # trunk-ignore(yamllint/octal-values) globalMounts: - path: /scripts/pushover-notify.sh subPath: pushover-notify.sh readOnly: true