42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: sabnzbd
|
|
namespace: pvr
|
|
labels:
|
|
app: sabnzbd
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: sabnzbd
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: sabnzbd
|
|
spec:
|
|
containers:
|
|
- name: sabnzbd
|
|
# image: bv11-cr01.bessems.eu/proxy/linuxserver/sabnzbd
|
|
image: linuxserver/sabnzbd
|
|
ports:
|
|
- name: web
|
|
containerPort: 8080
|
|
volumeMounts:
|
|
- mountPath: /config/sabnzbd.ini
|
|
subPath: sabnzbd.ini
|
|
name: flexvolsmb-sabnzbd-config
|
|
- mountPath: /downloads
|
|
subPath: downloads
|
|
name: smb-pvr-volatile
|
|
- mountPath: /incomplete-downloads
|
|
subPath: incomplete-downloads
|
|
name: smb-pvr-volatile
|
|
volumes:
|
|
- name: flexvolsmb-sabnzbd-config
|
|
persistentVolumeClaim:
|
|
claimName: flexvolsmb-sabnzbd-config
|
|
- name: smb-pvr-volatile
|
|
persistentVolumeClaim:
|
|
claimName: smb-pvr-volatile
|