add update script

This commit is contained in:
2025-01-14 23:07:15 -06:00
parent 6bde7b2ea7
commit f8bf14f9b4
2 changed files with 35 additions and 2 deletions

View File

@@ -62,8 +62,8 @@ qbittorrent:
key: private-key
- name: VPN_PORT_FORWARDING
value: "on"
#- name: VPN_PORT_FORWARDING_UP_COMMAND
# value: 'curl -i -X POST -d "json={\"listen_port\": {{`{{PORTS}}}`}} " "http://localhost:8080/api/v2/app/setPreferences"'
- name: VPN_PORT_FORWARDING_UP_COMMAND
value: '/bin/sh -c /gluetun/update.sh'
- name: PORT_FORWARD_ONLY
value: "on"
- name: FIREWALL_OUTBOUND_SUBNETS
@@ -169,6 +169,17 @@ qbittorrent:
qbittorrent:
- path: /config
readOnly: false
update-script:
enabled: true
type: configMap
name: glutun-update-script
advancedMounts:
frontend:
main:
- path: /gluetun/update.sh
readOnly: true
mountPropagation: None
subPath: update.sh
storage:
type: persistentVolumeClaim
existingClaim: qbittorrent-nfs-storage