--- # 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 sonarr 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 values: controller: annotations: reloader.stakater.com/auto: "true" configmap.reloader.stakater.com/reload: sonarr-pushover image: repository: ghcr.io/onedr0p/sonarr-develop tag: 4.0.0.688@sha256:cc88687162269b73c0e9bd6f147d4f7957639a4bdae3741cffe4bcabd7978e1f env: TZ: "${TIMEZONE}" PUSHOVER_APP_URL: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" PUSHOVER_DEBUG: "false" PUSHOVER_PRIORITY: "0" SONARR__INSTANCE_NAME: Sonarr SONARR__PORT: &port 8080 SONARR__APPLICATION_URL: "https://{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" SONARR__LOG_LEVEL: info envFrom: - secretRef: name: sonarr-secret service: main: ports: http: port: *port ingress: main: enabled: true ingressClassName: "nginx" annotations: auth.home.arpa/enabled: "true" nginx.ingress.kubernetes.io/configuration-snippet: | proxy_set_header Accept-Encoding ""; sub_filter '' ''; sub_filter_once on; hajimari.io/icon: mdi:television-classic hosts: - host: *host paths: - path: / pathType: Prefix tls: - hosts: - *host podSecurityContext: runAsUser: 568 runAsGroup: 568 fsGroup: 568 fsGroupChangePolicy: "OnRootMismatch" supplementalGroups: - 100 persistence: config: enabled: true existingClaim: sonarr-config mountPath: /config downloads: enabled: true type: nfs server: "${LOCAL_LAN_TRUENAS}" path: /mnt/storage/downloads mountPath: /mnt/storage/downloads video: enabled: true type: nfs server: "${LOCAL_LAN_TRUENAS}" path: /mnt/storage/video mountPath: /mnt/storage/video scripts: enabled: true type: configMap name: sonarr-pushover subPath: pushover-notify.sh mountPath: /scripts/pushover-notify.sh defaultMode: 0775 readOnly: true resources: requests: cpu: 500m memory: 500Mi limits: memory: 2000Mi