2023-04-08 12:46:07 +00:00
|
|
|
---
|
|
|
|
image:
|
|
|
|
repository: ghcr.io/onedr0p/qbittorrent
|
2024-01-17 03:42:51 +00:00
|
|
|
tag: 4.6.3
|
2023-04-08 12:46:07 +00:00
|
|
|
|
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: "vault-issuer"
|
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: 50m
|
|
|
|
hosts:
|
|
|
|
- host: qbittorrent.dc
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
tls:
|
|
|
|
- secretName: qbittorrent-tls
|
|
|
|
hosts:
|
|
|
|
- qbittorrent.dc
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 8080
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
# Disable IPv6 support for gluetun:
|
|
|
|
sysctls:
|
|
|
|
- name: net.ipv6.conf.all.disable_ipv6
|
|
|
|
value: "1"
|
2023-09-20 16:17:20 +00:00
|
|
|
fsGroup: 2420
|
2023-04-08 12:46:07 +00:00
|
|
|
fsGroupChangePolicy: "OnRootMismatch"
|
|
|
|
supplementalGroups:
|
2023-09-20 16:17:20 +00:00
|
|
|
- 1000
|
|
|
|
- 568
|
2023-04-08 12:46:07 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /config
|
|
|
|
size: 10M
|
|
|
|
|
|
|
|
# for custom themes:
|
|
|
|
theme:
|
|
|
|
enabled: false
|
|
|
|
mountpath: /theme
|
|
|
|
type: emptyDir
|
|
|
|
|
|
|
|
## example used hostpath instead
|
|
|
|
downloads:
|
|
|
|
enabled: true
|
|
|
|
type: hostPath
|
|
|
|
hostPath: /data/media/torrent
|
|
|
|
mountPath: /downloads
|
|
|
|
|
|
|
|
|
|
|
|
## Install custom Theme
|
|
|
|
# initContainers:
|
|
|
|
# init-config:
|
|
|
|
# image: alpine/git
|
|
|
|
# args:
|
|
|
|
# - "clone"
|
|
|
|
# - "--depth"
|
|
|
|
# - "1"
|
|
|
|
# - "https://github.com/dracula/qbittorrent.git"
|
|
|
|
# - "/theme"
|
|
|
|
# volumeMounts:
|
|
|
|
# - name: theme
|
|
|
|
# mountPath: /theme
|
|
|
|
# securityContext:
|
|
|
|
# runAsNonRoot: true
|
|
|
|
# privileged: false
|
|
|
|
# readOnlyRootFilesystem: true
|
|
|
|
# allowPrivilegeEscalation: false
|
|
|
|
# capabilities:
|
|
|
|
# drop:
|
|
|
|
# - ALL
|
|
|
|
|
|
|
|
## VPN
|
|
|
|
addons:
|
|
|
|
vpn:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
env:
|
2023-06-04 15:21:47 +00:00
|
|
|
VPN_SERVICE_PROVIDER: mullvad
|
|
|
|
VPN_TYPE: openvpn
|
|
|
|
WIREGUARD_ADDRESSES: 10.67.135.224/32
|
|
|
|
|
|
|
|
# Fix: https://github.com/qdm12/gluetun/issues/1569#issuecomment-1549992099
|
|
|
|
OPENVPN_CIPHERS: AES-256-GCM
|
2023-04-08 12:46:07 +00:00
|
|
|
|
2023-06-04 15:21:47 +00:00
|
|
|
DNS_KEEP_NAMESERVER: "on"
|
2023-04-08 12:46:07 +00:00
|
|
|
DOT: "on"
|
|
|
|
FIREWALL: "on"
|
|
|
|
FIREWALL_INPUT_PORTS: "8080,8000"
|
2023-06-04 15:21:47 +00:00
|
|
|
FIREWALL_VPN_INPUT_PORTS: 61086
|
2023-04-08 12:46:07 +00:00
|
|
|
|
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
2023-06-04 15:21:47 +00:00
|
|
|
name: wireguard-config
|
2023-04-08 12:46:07 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
capabilities:
|
|
|
|
add:
|
|
|
|
- NET_ADMIN
|
|
|
|
|
2023-06-04 15:21:47 +00:00
|
|
|
livenessProbe:
|
|
|
|
httpGet:
|
|
|
|
path: /v1/openvpn/status
|
|
|
|
port: 8000
|
|
|
|
initialDelaySeconds: 30
|
|
|
|
periodSeconds: 30
|