74 lines
2.0 KiB
YAML
74 lines
2.0 KiB
YAML
image:
|
|
repository: ghcr.io/onedr0p/qbittorrent
|
|
pullPolicy: IfNotPresent
|
|
tag: 4.6.3@sha256:a4ad890e8c4a287c17d12ca22eb1d84a046aba2efbd882bf7d6eb12459f6a70c
|
|
qbitportforwardImage:
|
|
repository: mjmeli/qbittorrent-port-forward-gluetun-server
|
|
pullPolicy: IfNotPresent
|
|
tag: latest@sha256:67d0d21ed792cf80716d4211e7162b6d375af5c12f3cf096c9032ad705dddaa8
|
|
qbitportforward:
|
|
enabled: false
|
|
QBT_USERNAME: "admin"
|
|
QBT_PASSWORD: "adminadmin"
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10095
|
|
targetPort: 8080
|
|
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:
|
|
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
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|