wip(deluge): add config volume and gluetun forwarding status file

This commit is contained in:
SeanOMik 2024-04-20 13:02:09 -04:00
parent ba169ea037
commit d66321556c
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
1 changed files with 17 additions and 1 deletions

View File

@ -51,6 +51,8 @@ spec:
env: env:
- name: FIREWALL_INPUT_PORTS - name: FIREWALL_INPUT_PORTS
value: "8112" # webui value: "8112" # webui
- name: VPN_PORT_FORWARDING_STATUS_FILE
value: /tmp/gluetun/forwarded_port
envFrom: envFrom:
- secretRef: - secretRef:
@ -87,11 +89,22 @@ spec:
- *host - *host
persistence: persistence:
media: torrents:
type: hostPath type: hostPath
hostPath: /mnt/MainPool/Media/Torrents hostPath: /mnt/MainPool/Media/Torrents
globalMounts: globalMounts:
- path: /storage/Torrents - path: /storage/Torrents
config:
type: persistentVolumeClaim
storageClass: openebs-hostpath
size: 1Gi
accessMode: ReadWriteOnce
advancedMounts:
deluge:
app:
- path: /config
gluetun-tmp: gluetun-tmp:
enabled: true enabled: true
type: emptyDir type: emptyDir
@ -99,4 +112,7 @@ spec:
deluge: # deluge controller deluge: # deluge controller
gluetun: # gluetun container gluetun: # gluetun container
- path: /tmp/gluetun/ - path: /tmp/gluetun/
app:
- path: /pia
readOnly: true