blob: 699f8d5ca72044ff66f98d66a282c50e81d3510a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: sonarr
namespace: servarr
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/created-by: tyil
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: sonarr
app.kubernetes.io/part-of: servarr
template:
metadata:
labels:
app.kubernetes.io/created-by: tyil
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: sonarr
app.kubernetes.io/part-of: servarr
spec:
containers:
- name: sonarr
image: hotio/sonarr:release
ports:
- containerPort: 8989
volumeMounts:
- name: config
mountPath: /config
- name: downloads
mountPath: /mnt/media/series/source-rtorrent
- name: sorted-anime
mountPath: /mnt/media/anime-series/exported
- name: sorted-series
mountPath: /mnt/media/series/exported
env:
- name: GUID
valueFrom:
configMapKeyRef:
name: servarr
key: groupId
- name: PUID
valueFrom:
configMapKeyRef:
name: servarr
key: userId
- name: TZ
valueFrom:
configMapKeyRef:
name: servarr
key: timezone
- name: UMASK
valueFrom:
configMapKeyRef:
name: servarr
key: umask
volumes:
- name: config
hostPath:
type: DirectoryOrCreate
path: /srv/servarr/sonarr/config
- name: downloads
hostPath:
type: Directory
path: /mnt/media/series/source-rtorrent
- name: sorted-anime
hostPath:
type: Directory
path: /mnt/media/anime-series/exported
- name: sorted-series
hostPath:
type: Directory
path: /mnt/media/series/exported
...
|