2022-01-08 16:35:06 +00:00
|
|
|
image:
|
|
|
|
repository: linuxserver/deluge
|
|
|
|
tag: version-2.0.3-2201906121747ubuntu18.04.1
|
|
|
|
|
2021-11-28 10:16:31 +00:00
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: "vault-issuer"
|
2022-01-05 19:24:47 +00:00
|
|
|
traefik.ingress.kubernetes.io/router.tls: 'true'
|
|
|
|
#FIXME:
|
2021-11-28 10:16:31 +00:00
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: 50m
|
|
|
|
|
|
|
|
hosts:
|
|
|
|
- host: torrent.dc
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
|
|
|
|
tls:
|
|
|
|
- secretName: torrent.dc-tls
|
|
|
|
hosts:
|
|
|
|
- torrent.dc
|
|
|
|
|
|
|
|
env:
|
|
|
|
PUID: 1000
|
|
|
|
GUID: 1000
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /config
|
|
|
|
size: 10M
|
|
|
|
|
|
|
|
# use hostpath instead
|
|
|
|
downloads:
|
|
|
|
enabled: true
|
|
|
|
type: hostPath
|
|
|
|
hostPath: /data/torrent
|
|
|
|
mountPath: /downloads
|
|
|
|
|
|
|
|
## VPN
|
|
|
|
addons:
|
|
|
|
vpn:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
openvpn:
|
|
|
|
authSecret: openvpn
|
|
|
|
configFileSecret: openvpn
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
capabilities:
|
|
|
|
add:
|
|
|
|
- NET_ADMIN
|
|
|
|
- SYS_MODULE
|
|
|
|
|
|
|
|
livenessProbe:
|
|
|
|
exec:
|
|
|
|
command:
|
|
|
|
- sh
|
|
|
|
- -c
|
|
|
|
- if [ $(curl -s https://ipinfo.io/country) == 'NL' ]; then exit 0; else exit $?; fi
|
|
|
|
initialDelaySeconds: 30
|
|
|
|
periodSeconds: 60
|
|
|
|
failureThreshold: 3
|