2023-02-11 16:34:53 +00:00
|
|
|
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
|
2023-02-11 16:40:53 +00:00
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
containerPort: 7878
|
|
|
|
protocol: TCP
|
2023-02-11 16:52:01 +00:00
|
|
|
volumeMounts:
|
|
|
|
- name: config
|
|
|
|
mountPath: /config
|
2023-02-11 18:49:54 +00:00
|
|
|
- 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
|
2023-02-11 16:52:01 +00:00
|
|
|
volumes:
|
|
|
|
- name: config
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: radarr-config-data
|
2023-02-11 18:49:54 +00:00
|
|
|
- name: torrents
|
|
|
|
emptyDir: {}
|
|
|
|
- name: data
|
|
|
|
emptyDir: {}
|
2023-02-11 16:52:01 +00:00
|
|
|
|