change argument

This commit is contained in:
2025-01-14 23:51:19 -06:00
parent f3451efac6
commit 179bd14f7f
2 changed files with 3 additions and 21 deletions

View File

@@ -17,6 +17,6 @@ data:
apk add curl
fi
echo "updating port with {{PORTS}}"
echo "updating port with $1"
curl -i -X POST -d "json={\"listen_port\": {{PORTS}}}" "http://localhost:8080/api/v2/app/setPreferences"'
curl -i -X POST -d "json={\"listen_port\": $1}" "http://localhost:8080/api/v2/app/setPreferences"'

View File

@@ -63,7 +63,7 @@ qbittorrent:
- name: VPN_PORT_FORWARDING
value: "on"
- name: VPN_PORT_FORWARDING_UP_COMMAND
value: '/bin/sh -c /gluetun/update.sh'
value: '/bin/sh -c /gluetun/update.sh {{ printf "{{PORTS}}" }}'
- name: PORT_FORWARD_ONLY
value: "on"
- name: FIREWALL_OUTBOUND_SUBNETS
@@ -128,24 +128,6 @@ qbittorrent:
targetPort: 9022
protocol: HTTP
ingress:
# main:
# className: traefik
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: websecure
# traefik.ingress.kubernetes.io/router.tls: "true"
# cert-manager.io/cluster-issuer: letsencrypt-issuer
# hosts:
# - host: qbittorrent.alexlebens.net
# paths:
# - path: /
# pathType: Prefix
# service:
# name: qbittorrent
# port: 8080
# tls:
# - secretName: qbittorrent-secret-tls
# hosts:
# - qbittorrent.alexlebens.net
tailscale:
enabled: true
className: tailscale