# Default values for qbittorrent.

image:
  repository: ghcr.io/k8s-at-home/qbittorrent
  pullPolicy: IfNotPresent
  tag: v4.3.5

strategy:
  type: Recreate

env: {}
    # TZ: UTC
  # PUID: 1001
  # PGID: 1001
  # UMASK: 022

service:
  main:
    ports:
      main:
        port: 8080
  torrent:
    enabled: true
    type: ClusterIP
    ports:
      tcp:
        enabled: true
        port: 6881
        protocol: TCP
      udp:
        enabled: true
        port: 6881
        protocol: UDP

persistence:
  config:
    enabled: true
    mountPath: "/config"
    emptyDir:
      enabled: true
    accessMode: ReadWriteOnce
    size: 1Gi
    storageClass: ""

additionalVolumes:
  - name: qbittorrent-scripts
    emptyDir: {}
    ## When you want to enable automatic port configuration at startup, adjust this to:
    # configMap:
    #   name: <RELEASENAME>-scripts
    #   defaultMode: 511

additionalVolumeMounts:
  - mountPath: /config/custom-cont-init.d
    name: qbittorrent-scripts
