--- # 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 bazarr namespace: default spec: interval: 30m chart: spec: chart: app-template version: 2.0.3 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 dependsOn: - name: rook-ceph-cluster namespace: rook-ceph - name: volsync namespace: volsync values: defaultPodOptions: securityContext: runAsUser: 568 runAsGroup: 568 fsGroup: 568 fsGroupChangePolicy: OnRootMismatch controllers: main: type: statefulset annotations: reloader.stakater.com/auto: "true" initContainers: init-db: image: repository: ghcr.io/auricom/postgres-init tag: 15.4@sha256:83e1abf06be5741bdfb8cb53fc03a1ade6e6b5ec7b92a8aac0c69ba5dc7e51f0 pullPolicy: IfNotPresent envFrom: &envFrom - secretRef: name: atuin-secret containers: main: image: repository: ghcr.io/onedr0p/bazarr tag: 1.3.1@sha256:840242bb1dfb337e5bfa579af039738bbf9948f6f33deecf451ebdd9ca509e31 env: TZ: "${TIMEZONE}" envFrom: *envFrom resources: requests: cpu: 23m memory: 204M limits: memory: 1Gi subcleaner: image: repository: registry.k8s.io/git-sync/git-sync tag: v4.1.0 pullPolicy: IfNotPresent args: - --repo=https://github.com/KBlixt/subcleaner - --branch=master - --wait=86400 # 1 day - --root=/add-ons statefulset: volumeClaimTemplates: - name: config accessMode: ReadWriteOnce size: 1Gi storageClass: rook-ceph-block globalMounts: - path: /config service: main: ports: http: port: 6767 ingress: main: enabled: true className: "nginx" annotations: auth.home.arpa/enabled: "true" hajimari.io/icon: mdi:subtitles-outline hosts: - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" paths: - path: / service: name: main port: http tls: - hosts: - *host persistence: add-ons: enabled: true type: emptyDir globalMounts: - path: /add-ons video: enabled: true type: nfs server: "${LOCAL_LAN_TRUENAS}" path: /mnt/storage/video globalMounts: - path: /mnt/storage/video scripts: enabled: true type: configMap name: bazarr-scripts # overriden by kustomizeconfig defaultMode: 0775 readOnly: true globalMounts: - path: /scripts