--- # 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 qbittorrent spec: interval: 30m chart: spec: chart: app-template version: 3.5.1 interval: 30m sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system install: remediation: retries: 3 upgrade: cleanupOnFail: true remediation: retries: 3 strategy: rollback values: controllers: qbittorrent: annotations: configmap.reloader.stakater.com/reload: qbittorrent-scripts secret.reloader.stakater.com/reload: qbittorrent-secret containers: app: nameOverride: qbittorrent image: repository: ghcr.io/onedr0p/qbittorrent-beta tag: 5.0.2@sha256:adfd625f9cc7226eabad8aa117a551d42d5818c914850ef7fa3be60111383107 env: UMASK: "022" QBT_WEBUI_PORT: &port 80 QBT_TORRENTING_PORT: &bittorrentPort 50413 CROSS_SEED_ENABLED: true CROSS_SEED_HOST: cross-seed.qbittorrent.svc.cluster.local CROSS_SEED_PORT: 80 CROSS_SEED_SLEEP_INTERVAL: 0 PUSHOVER_ENABLED: true envFrom: - secretRef: name: qbittorrent-secret probes: liveness: enabled: true readiness: enabled: true startup: enabled: true spec: failureThreshold: 30 periodSeconds: 10 securityContext: runAsUser: 568 runAsGroup: 568 runAsNonRoot: true allowPrivilegeEscalation: false readOnlyRootFilesystem: true capabilities: drop: - ALL resources: requests: cpu: 100m memory: 1024Mi limits: memory: 8Gi defaultPodOptions: nodeSelector: # ~~testing~~ kubernetes.io/hostname: shadowfax-01 securityContext: runAsNonRoot: true runAsUser: 568 runAsGroup: 568 fsGroup: 568 fsGroupChangePolicy: OnRootMismatch supplementalGroups: [10000] seccompProfile: { type: RuntimeDefault } terminationGracePeriodSeconds: 300 service: app: controller: *app type: LoadBalancer annotations: io.cilium/lb-ipam-ips: 10.1.1.34 nameOverride: *app ports: http: port: *port bittorrent: enabled: true port: *bittorrentPort protocol: TCP ingress: app: className: "internal-nginx" hosts: - host: "qb.jahanson.tech" paths: - path: / service: identifier: app port: http tls: - hosts: - "qb.jahanson.tech" persistence: config: existingClaim: qbittorrent scripts: type: configMap name: qbittorrent-scripts defaultMode: 0775 globalMounts: - readOnly: true tmp: type: emptyDir globalMounts: - path: /tmp media: type: nfs server: gandalf.jahanson.tech path: /eru/media advancedMounts: qbittorrent: app: - path: /data/nas-media