mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
39 lines
845 B
YAML
39 lines
845 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: sabnzbd
|
|
namespace: media
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: sabnzbd
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: sabnzbd
|
|
spec:
|
|
containers:
|
|
- name: sabnzbd
|
|
image: lscr.io/linuxserver/sabnzbd:latest
|
|
envFrom:
|
|
- configMapRef:
|
|
name: sabnzbd-config
|
|
optional: false
|
|
ports:
|
|
- containerPort: 8080
|
|
name: http
|
|
protocol: TCP
|
|
volumeMounts:
|
|
- name: sabnzbd-config
|
|
mountPath: /config
|
|
- name: data
|
|
mountPath: /data/usenet
|
|
subPath: usenet
|
|
volumes:
|
|
- name: sabnzbd-config
|
|
persistentVolumeClaim:
|
|
claimName: sabnzbd-config
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: media-data
|