infra4drache/radarr/deploy.yaml

56 lines
1.2 KiB
YAML
Raw Normal View History

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: radarr
name: radarr
spec:
replicas: 1
selector:
matchLabels:
app: radarr
template:
metadata:
creationTimestamp: null
labels:
app: radarr
spec:
containers:
- image: hotio/radarr:release
name: radarr
ports:
- name: http
containerPort: 7878
protocol: TCP
volumeMounts:
- name: config
mountPath: /config
- name: torrents
mountPath: /torrents
- image: imartyn/krantor
name: krantor
env:
- name: PUTIO_DOWNLOAD_FOLDER_ID
value: "1092766658"
- name: PUTIO_WATCH_FOLDER
value: /torrents
- name: PUTIO_TOKEN
valueFrom:
secretKeyRef:
name: putio-token
key: token
volumeMounts:
- name: torrents
mountPath: /torrents
- name: data
mountPath: /data
volumes:
- name: config
persistentVolumeClaim:
claimName: radarr-config-data
- name: torrents
emptyDir: {}
- name: data
emptyDir: {}