feat(nzbget): inject newshosting creds from usenet-creds secret
Reuse the existing nzbget chart as the usenet downloader. Newshosting
username/password come from the out-of-band `usenet-creds` Opaque secret
(same pattern as gluetun-wireguard), exposed as env and referenced in
nzbget.conf via ${NEWSHOSTING_USER}/${NEWSHOSTING_PASS} so no plaintext
provider password lands in the config file.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -22,6 +22,20 @@ env:
|
||||
value: "http://gluetun.default.svc.cluster.local:8888"
|
||||
- name: NO_PROXY
|
||||
value: "localhost,127.0.0.1,.svc,.cluster.local"
|
||||
# Newshosting usenet provider credentials, sourced from the out-of-band
|
||||
# `usenet-creds` Secret (not in git, same pattern as gluetun-wireguard).
|
||||
# Referenced in nzbget.conf as ${NEWSHOSTING_USER} / ${NEWSHOSTING_PASS}
|
||||
# so the password never lives in plaintext in the config file.
|
||||
- name: NEWSHOSTING_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: usenet-creds
|
||||
key: NEWSHOSTING_USER
|
||||
- name: NEWSHOSTING_PASS
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: usenet-creds
|
||||
key: NEWSHOSTING_PASS
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
|
||||
Reference in New Issue
Block a user