catalog/stable/qbittorrent/20.0.4/ix_values.yaml

88 lines
2.6 KiB
YAML

image:
repository: ghcr.io/onedr0p/qbittorrent
pullPolicy: IfNotPresent
tag: 4.6.4@sha256:b9af0f2173572a69d2c02eab8f701ef7b04f61689efe1c5338b96445d528dec4
qbitportforwardImage:
repository: mjmeli/qbittorrent-port-forward-gluetun-server
pullPolicy: IfNotPresent
tag: latest@sha256:67d0d21ed792cf80716d4211e7162b6d375af5c12f3cf096c9032ad705dddaa8
securityContext:
container:
readOnlyRootFilesystem: false
qbitportforward:
enabled: false
QBT_USERNAME: "admin"
QBT_PASSWORD: "adminadmin"
service:
main:
ports:
main:
port: 10095
torrent:
enabled: true
ports:
torrent:
enabled: true
port: 6881
protocol: tcp
torrentudp:
enabled: true
port: "{{ .Values.service.torrent.ports.torrent.port }}"
protocol: udp
gluetun:
enabled: true
type: ClusterIP
ports:
gluetun:
enabled: true
port: 8000
targetPort: 8000
protocol: http
workload:
main:
podSpec:
containers:
main:
env:
# set the default port
QBITTORRENT__PORT: "{{ .Values.service.main.ports.main.port }}"
# stops users from bricking their chart from setting the ip to a random ip when its a container.
QBT_Preferences__WebUI__Address: "0.0.0.0"
# set port from gui.
QBT_BitTorrent__Session__Port: "{{ .Values.service.torrent.ports.torrent.port }}"
# legacy ini key
# key deprecated https://github.com/qbittorrent/qBittorrent/issues/8324
QBT_Preferences__Connection__PortRangeMin: "{{ .Values.service.torrent.ports.torrent.port }}"
qbitportforward:
enabled: true
type: CronJob
schedule: "*/5 * * * *"
podSpec:
restartPolicy: OnFailure
containers:
qbitportforward:
primary: true
enabled: true
imageSelector: qbitportforwardImage
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
env:
QBT_USERNAME: "{{ .Values.qbitportforward.QBT_USERNAME }}"
QBT_PASSWORD: "{{ .Values.qbitportforward.QBT_PASSWORD }}"
QBT_ADDR: '{{ printf "http://%v:%v" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.main.ports.main.port }}'
GTN_ADDR: '{{ printf "http://%v-gluetun:8000" (include "tc.v1.common.lib.chart.names.fullname" $) }}'
command: /usr/src/app/main.sh
persistence:
config:
enabled: true
mountPath: "/config"
portal:
open:
enabled: true