infra4talos/apps-kustomized/lidarr/deploy.yaml

45 lines
920 B
YAML
Raw Normal View History

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: lidarr
name: lidarr
spec:
replicas: 1
selector:
matchLabels:
app: lidarr
template:
metadata:
creationTimestamp: null
labels:
app: lidarr
spec:
containers:
- image: hotio/lidarr:release
name: lidarr
ports:
- name: http
containerPort: 7878
protocol: TCP
volumeMounts:
- name: config
mountPath: /config
- name: data
mountPath: /data
- name: downloads
mountPath: /downloads
volumes:
- name: config
persistentVolumeClaim:
claimName: lidarr-config-data
- name: torrents
emptyDir: {}
- name: data
persistentVolumeClaim:
claimName: smb-music
- name: downloads
persistentVolumeClaim:
claimName: smb-usenet