nzbget to sabnzbd

This commit is contained in:
2025-01-02 17:21:48 -05:00
parent 3c09627cba
commit 649a42a266
10 changed files with 49 additions and 49 deletions

View File

@@ -0,0 +1,62 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: sabnzbd
namespace: media
spec:
selector:
matchLabels:
app: sabnzbd
template:
metadata:
labels:
app: sabnzbd
spec:
securityContext:
sysctls:
- name: net.ipv4.conf.all.src_valid_mark
value: "1"
containers:
- name: sabnzbd
image: lscr.io/linuxserver/sabnzbd:latest
envFrom:
- configMapRef:
name: sabnzbd-config
optional: false
ports:
- containerPort: 6789
name: http
protocol: TCP
volumeMounts:
- name: sabnzbd-config
mountPath: /config
- name: data
mountPath: /data/usenet
subPath: usenet
- name: wireguard
image: lscr.io/linuxserver/wireguard:latest
envFrom:
- configMapRef:
name: sabnzbd-wireguard-config
securityContext:
capabilities:
add:
- NET_ADMIN
volumeMounts:
- name: sabnzbd-wireguard-config-secret
mountPath: /config/wg_confs
- name: sabnzbd-wireguard-config
mountPath: /config
volumes:
- name: sabnzbd-config
persistentVolumeClaim:
claimName: sabnzbd-config
- name: data
persistentVolumeClaim:
claimName: media-data
- name: sabnzbd-wireguard-config
persistentVolumeClaim:
claimName: sabnzbd-wireguard-config
- name: sabnzbd-wireguard-config-secret
secret:
secretName: sabnzbd-wireguard-config-secret