6247b140bc
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>
87 lines
1.8 KiB
YAML
87 lines
1.8 KiB
YAML
replicaCount: 1
|
|
|
|
image:
|
|
repository: lscr.io/linuxserver/nzbget
|
|
tag: "latest"
|
|
pullPolicy: Always
|
|
|
|
env:
|
|
- name: PUID
|
|
value: "1000"
|
|
- name: PGID
|
|
value: "1000"
|
|
- name: TZ
|
|
value: "Europe/Amsterdam"
|
|
- name: HTTP_PROXY
|
|
value: "http://gluetun.default.svc.cluster.local:8888"
|
|
- name: http_proxy
|
|
value: "http://gluetun.default.svc.cluster.local:8888"
|
|
- name: HTTPS_PROXY
|
|
value: "http://gluetun.default.svc.cluster.local:8888"
|
|
- name: https_proxy
|
|
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
|
|
port: 6789
|
|
|
|
volumes:
|
|
- name: plex-data
|
|
persistentVolumeClaim:
|
|
claimName: "plex-data"
|
|
|
|
volumeMounts:
|
|
- name: plex-data
|
|
mountPath: "/config"
|
|
subPath: "configs/nzbget"
|
|
- name: plex-data
|
|
mountPath: "/nfs"
|
|
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: 6789
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 20
|
|
timeoutSeconds: 2
|
|
failureThreshold: 3
|
|
|
|
readinessProbe:
|
|
tcpSocket:
|
|
port: 6789
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
timeoutSeconds: 2
|
|
failureThreshold: 3
|
|
|
|
resources:
|
|
requests:
|
|
memory: "500Mi"
|
|
cpu: "500m"
|
|
ephemeral-storage: "50Mi"
|
|
limits:
|
|
memory: "2Gi"
|
|
cpu: "2"
|
|
ephemeral-storage: "1Gi"
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|