diff --git a/cluster/apps/download/qbittorrent/helm-release.yaml b/cluster/apps/download/qbittorrent/helm-release.yaml index 03405b3..e72c9f0 100644 --- a/cluster/apps/download/qbittorrent/helm-release.yaml +++ b/cluster/apps/download/qbittorrent/helm-release.yaml @@ -31,7 +31,7 @@ spec: tag: 4.5.2 env: - QBITTORRENT__PORT: &qbitPort 8080 + QBITTORRENT__PORT: 8080 securityContext: runAsGroup: 10000 @@ -39,21 +39,6 @@ spec: fsGroup: 10000 fsGroupChangePolicy: "OnRootMismatch" - probes: - liveness: - enabled: true - custom: true - type: TCP - - spec: - httpGet: - path: / - port: *qbitPort - initialDelaySeconds: 30 - periodSeconds: 60 - failureThreshold: 3 - timeoutSeconds: 10 - gluetun: image: repository: qmcgaw/gluetun @@ -74,6 +59,23 @@ spec: add: - NET_ADMIN + probes: + liveness: + enabled: true + custom: true + + spec: + exec: + command: + - /bin/sh + - -c + # if the vpn is connected, it should have internet + - ping -c 1 google.com + initialDelaySeconds: 30 + periodSeconds: 60 + failureThreshold: 3 + timeoutSeconds: 10 + port-manager: image: repository: git.seanomik.net/seanomik/gluetun-qbit-port-updater