feat(nzbget): route NNTP through gluetun VPN sidecar; drop dead HTTP proxy
nzbget's usenet downloads (NNTP/563) were egressing DIRECT: the HTTP_PROXY env pointed at a standalone gluetun that isn't even running, and NNTP ignores HTTP proxies anyway. Adopt the qbittorrent pattern instead: run gluetun as a sidecar in the nzbget pod so the shared netns + kill-switch force ALL traffic through the tunnel, regardless of protocol. - Add gluetun sidecar (own AirVPN device via gluetun-wireguard-nzbget secret, FIREWALL_INPUT_PORTS=6789 to keep the WebUI reachable, DOT=off + DNS_ADDRESS per the AirVPN-blocks-DoT gotcha). - Remove the useless HTTP_PROXY/NO_PROXY envs from nzbget. - Delete the standalone gluetun chart/values/application (was not running; only nzbget referenced it). Trade-off: if the tunnel drops, downloads stop (no leak) rather than falling back to direct — same behaviour as qbittorrent. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -26,6 +26,21 @@ spec:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: gluetun
|
||||
image: "{{ .Values.gluetun.image.repository }}:{{ .Values.gluetun.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.gluetun.image.pullPolicy }}
|
||||
securityContext:
|
||||
{{ toYaml .Values.gluetun.securityContext | indent 12 }}
|
||||
env:
|
||||
{{ toYaml .Values.gluetun.env | indent 12 }}
|
||||
livenessProbe:
|
||||
{{ toYaml .Values.gluetun.livenessProbe | indent 12 }}
|
||||
readinessProbe:
|
||||
{{ toYaml .Values.gluetun.readinessProbe | indent 12 }}
|
||||
volumeMounts:
|
||||
{{ toYaml .Values.gluetun.volumeMounts | indent 12 }}
|
||||
resources:
|
||||
{{ toYaml .Values.gluetun.resources | indent 12 }}
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
|
||||
Reference in New Issue
Block a user