hive-apps/projects/downloader/values/deluge.yaml

120 lines
2.1 KiB
YAML
Raw Normal View History

---
2022-01-08 16:35:06 +00:00
image:
2022-11-27 20:07:21 +00:00
repository: lib42/deluge
2022-12-09 15:06:51 +00:00
tag: "2"
2022-11-27 20:07:21 +00:00
podSecurityContext:
fsGroup: 1000
securityContext:
runAsNonRoot: true
privileged: false
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
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'
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
service:
main:
enabled: true
ports:
http:
port: 8112
2021-11-28 10:16:31 +00:00
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
2022-11-28 17:39:34 +00:00
tmp:
enabled: true
type: emptyDir
mountPath: /tmp
2022-12-09 15:06:51 +00:00
cache:
enabled: true
type: emptyDir
mountPath: /home/deluge/.cache
2021-11-28 10:16:31 +00:00
## VPN
addons:
vpn:
enabled: true
env:
VPN_SERVICE_PROVIDER: mullvad
VPN_TYPE: openvpn
WIREGUARD_ADDRESSES: 10.67.135.224/32
DNS_KEEP_NAMESERVER: "on"
DOT: "on"
FIREWALL: "on"
FIREWALL_INPUT_PORTS: "8112,8000"
FIREWALL_VPN_INPUT_PORTS: 61086
envFrom:
- secretRef:
name: wireguard-config
2021-11-28 10:16:31 +00:00
securityContext:
capabilities:
add:
- NET_ADMIN
livenessProbe:
httpGet:
path: /v1/openvpn/status
port: 8000
2021-11-28 10:16:31 +00:00
initialDelaySeconds: 30
periodSeconds: 30
2022-11-27 20:07:21 +00:00
initContainers:
init-config:
2022-12-09 15:06:51 +00:00
image: lib42/deluge:2
2022-11-27 20:07:21 +00:00
command: ["/bin/sh"]
args: [ "-c", "([ ! -f /config/core.conf ] && cp -v /defaults/core.conf /config/core.conf) || true"]
volumeMounts:
- name: config
mountPath: /config
additionalContainers:
deluge-daemon:
2022-12-09 15:06:51 +00:00
image: lib42/deluge:2
volumeMounts:
- name: config
mountPath: /config
- name: downloads
mountPath: /downloads
2022-12-09 15:06:51 +00:00
- name: cache
mountPath: /home/deluge/.cache