change argument
This commit is contained in:
@@ -17,6 +17,6 @@ data:
|
|||||||
apk add curl
|
apk add curl
|
||||||
fi
|
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"'
|
||||||
|
@@ -63,7 +63,7 @@ qbittorrent:
|
|||||||
- name: VPN_PORT_FORWARDING
|
- name: VPN_PORT_FORWARDING
|
||||||
value: "on"
|
value: "on"
|
||||||
- name: VPN_PORT_FORWARDING_UP_COMMAND
|
- 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
|
- name: PORT_FORWARD_ONLY
|
||||||
value: "on"
|
value: "on"
|
||||||
- name: FIREWALL_OUTBOUND_SUBNETS
|
- name: FIREWALL_OUTBOUND_SUBNETS
|
||||||
@@ -128,24 +128,6 @@ qbittorrent:
|
|||||||
targetPort: 9022
|
targetPort: 9022
|
||||||
protocol: HTTP
|
protocol: HTTP
|
||||||
ingress:
|
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:
|
tailscale:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: tailscale
|
className: tailscale
|
||||||
|
Reference in New Issue
Block a user