Compare commits
80 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f8318860c8 | |||
| 45f6a49863 | |||
| 6a88b2d6dd | |||
| 92ac61ff37 | |||
| af05ba5105 | |||
| 90fded0414 | |||
| e13d468bbf | |||
| 6e4c3d75ad | |||
| f7141b5d49 | |||
| b127b5969d | |||
| 395924acca | |||
| 002df812ad | |||
| ef6365f0bd | |||
| 4eafe1a274 | |||
| 5f017dcb7d | |||
| b3f293dfae | |||
| d5c5df166f | |||
| a144e3c91d | |||
| 8c0a0bcae5 | |||
| 373cfc3c85 | |||
| 42bd4a24d8 | |||
| 68216a2d0f | |||
| 1fd07cb6ff | |||
| 0d347a1043 | |||
| 5e424ec3e7 | |||
| f6664abe8a | |||
| c97032b5fd | |||
| df88693c58 | |||
| de56f95000 | |||
| 1486de806a | |||
| edfcd2156a | |||
| 82e35b1cde | |||
| 4c9bb8397b | |||
| 769d190f44 | |||
| a264bf554b | |||
| a26b86ee77 | |||
| dbe3a32eec | |||
| 4af4fb632e | |||
| fcf312457b | |||
| 8e41ff5f0b | |||
| 207863e95b | |||
| ef7ff36746 | |||
| 1182af12f0 | |||
| 28ad13bb64 | |||
| 680b8b4da1 | |||
| ff34bd0087 | |||
| 9f39336724 | |||
| e4e3489d27 | |||
| 193aaf572b | |||
| 614ac48682 | |||
| 0629960253 | |||
| 3091aea164 | |||
| 9b89d84f35 | |||
| 1b265e2664 | |||
| 44a2fcede8 | |||
| 34e5828393 | |||
| 47ac1479bb | |||
| 98aeed94ea | |||
| 254898bef4 | |||
| b9a0711dd6 | |||
| 5ba0675e84 | |||
| 1ce130cc1e | |||
| 0ee716114c | |||
| 5293a25e47 | |||
| e3fbcb0016 | |||
| 5211a16701 | |||
| f40366bc3e | |||
| bbf77a57e2 | |||
| f9eac3c184 | |||
| b3ab290cb6 | |||
| ce0a8ca933 | |||
| d8d4f9203e | |||
| a1e399c4bd | |||
| 5f4be0a668 | |||
| 90db5d0c6f | |||
| e3c8bc843d | |||
| cccd12fee5 | |||
| c8a6719054 | |||
| ebce53f998 | |||
| 8f19607e96 |
@@ -1,6 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: apps
|
|
||||||
labels:
|
|
||||||
kubernetes.io/metadata.name: apps
|
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: bazarr-config
|
||||||
|
namespace: media
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 2Gi
|
||||||
|
storageClassName: longhorn
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: bazarr-podcasts
|
||||||
|
namespace: media
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 2Gi
|
||||||
|
storageClassName: longhorn
|
||||||
@@ -3,6 +3,8 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: bazarr
|
name: bazarr
|
||||||
namespace: media
|
namespace: media
|
||||||
|
labels:
|
||||||
|
app: bazarr
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -24,21 +26,26 @@ spec:
|
|||||||
- name: PGID
|
- name: PGID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "America/New_York"
|
value: UTC
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
- name: media
|
- name: tv
|
||||||
mountPath: /media
|
mountPath: /tv
|
||||||
|
- name: movies
|
||||||
|
mountPath: /movies
|
||||||
- name: podcasts
|
- name: podcasts
|
||||||
mountPath: /podcasts
|
mountPath: /podcasts
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: bazarr-config
|
claimName: bazarr-config
|
||||||
- name: media
|
- name: tv
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: media-data
|
claimName: sonarr-downloads
|
||||||
|
- name: movies
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: radarr-downloads
|
||||||
- name: podcasts
|
- name: podcasts
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: bazarr-podcasts
|
claimName: bazarr-podcasts
|
||||||
@@ -5,6 +5,7 @@ metadata:
|
|||||||
namespace: media
|
namespace: media
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
spec:
|
spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
@@ -20,7 +21,4 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: bazarr
|
name: bazarr
|
||||||
port:
|
port:
|
||||||
number: 6767
|
name: http
|
||||||
entryPoints:
|
|
||||||
- web
|
|
||||||
- websecure
|
|
||||||
|
|||||||
@@ -7,7 +7,8 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: bazarr
|
app: bazarr
|
||||||
ports:
|
ports:
|
||||||
- port: 6767
|
- name: http
|
||||||
targetPort: 6767
|
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
port: 6767
|
||||||
|
targetPort: 6767
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: emby-config
|
||||||
|
namespace: media
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 10Gi
|
||||||
|
storageClassName: longhorn
|
||||||
@@ -3,6 +3,8 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: emby
|
name: emby
|
||||||
namespace: media
|
namespace: media
|
||||||
|
labels:
|
||||||
|
app: emby
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -25,7 +27,7 @@ spec:
|
|||||||
- name: PGID
|
- name: PGID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "America/New_York"
|
value: UTC
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ metadata:
|
|||||||
namespace: media
|
namespace: media
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
spec:
|
spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
@@ -20,7 +21,4 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: emby
|
name: emby
|
||||||
port:
|
port:
|
||||||
number: 8096
|
name: http
|
||||||
entryPoints:
|
|
||||||
- web
|
|
||||||
- websecure
|
|
||||||
|
|||||||
@@ -7,10 +7,12 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: emby
|
app: emby
|
||||||
ports:
|
ports:
|
||||||
- port: 8096
|
- name: http
|
||||||
|
protocol: TCP
|
||||||
|
port: 8096
|
||||||
targetPort: 8096
|
targetPort: 8096
|
||||||
|
- name: https
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- port: 8920
|
port: 8920
|
||||||
targetPort: 8920
|
targetPort: 8920
|
||||||
protocol: TCP
|
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: lidarr-config
|
||||||
|
namespace: media
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 5Gi
|
||||||
|
storageClassName: longhorn
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: lidarr-downloads
|
||||||
|
namespace: media
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 50Gi
|
||||||
|
storageClassName: longhorn
|
||||||
@@ -3,6 +3,8 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: lidarr
|
name: lidarr
|
||||||
namespace: media
|
namespace: media
|
||||||
|
labels:
|
||||||
|
app: lidarr
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -24,19 +26,19 @@ spec:
|
|||||||
- name: PGID
|
- name: PGID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "America/New_York"
|
value: UTC
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
- name: media
|
- name: music
|
||||||
mountPath: /media
|
mountPath: /music
|
||||||
- name: downloads
|
- name: downloads
|
||||||
mountPath: /downloads
|
mountPath: /downloads
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: lidarr-config
|
claimName: lidarr-config
|
||||||
- name: media
|
- name: music
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: media-data
|
claimName: media-data
|
||||||
- name: downloads
|
- name: downloads
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ metadata:
|
|||||||
namespace: media
|
namespace: media
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
spec:
|
spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
@@ -20,7 +21,4 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: lidarr
|
name: lidarr
|
||||||
port:
|
port:
|
||||||
number: 8686
|
name: http
|
||||||
entryPoints:
|
|
||||||
- web
|
|
||||||
- websecure
|
|
||||||
|
|||||||
@@ -7,7 +7,8 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: lidarr
|
app: lidarr
|
||||||
ports:
|
ports:
|
||||||
- port: 8686
|
- name: http
|
||||||
targetPort: 8686
|
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
port: 8686
|
||||||
|
targetPort: 8686
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
|
storageClassName: longhorn
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 500Gi
|
storage: 500Gi
|
||||||
storageClassName: longhorn
|
|
||||||
@@ -3,4 +3,4 @@ kind: Namespace
|
|||||||
metadata:
|
metadata:
|
||||||
name: media
|
name: media
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/managed-by: orion
|
name: media
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: prowlarr-config
|
||||||
|
namespace: media
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 2Gi
|
||||||
|
storageClassName: longhorn
|
||||||
@@ -3,6 +3,8 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: prowlarr
|
name: prowlarr
|
||||||
namespace: media
|
namespace: media
|
||||||
|
labels:
|
||||||
|
app: prowlarr
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -24,7 +26,7 @@ spec:
|
|||||||
- name: PGID
|
- name: PGID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "America/New_York"
|
value: UTC
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ metadata:
|
|||||||
namespace: media
|
namespace: media
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
spec:
|
spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
@@ -20,7 +21,4 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: prowlarr
|
name: prowlarr
|
||||||
port:
|
port:
|
||||||
number: 9696
|
name: http
|
||||||
entryPoints:
|
|
||||||
- web
|
|
||||||
- websecure
|
|
||||||
|
|||||||
@@ -7,7 +7,8 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: prowlarr
|
app: prowlarr
|
||||||
ports:
|
ports:
|
||||||
- port: 9696
|
- name: http
|
||||||
targetPort: 9696
|
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
port: 9696
|
||||||
|
targetPort: 9696
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: radarr-config
|
||||||
|
namespace: media
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 5Gi
|
||||||
|
storageClassName: longhorn
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: radarr-downloads
|
||||||
|
namespace: media
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 50Gi
|
||||||
|
storageClassName: longhorn
|
||||||
@@ -3,6 +3,8 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: radarr
|
name: radarr
|
||||||
namespace: media
|
namespace: media
|
||||||
|
labels:
|
||||||
|
app: radarr
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -24,19 +26,19 @@ spec:
|
|||||||
- name: PGID
|
- name: PGID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "America/New_York"
|
value: UTC
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
- name: media
|
- name: movies
|
||||||
mountPath: /media
|
mountPath: /movies
|
||||||
- name: downloads
|
- name: downloads
|
||||||
mountPath: /downloads
|
mountPath: /downloads
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: radarr-config
|
claimName: radarr-config
|
||||||
- name: media
|
- name: movies
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: media-data
|
claimName: media-data
|
||||||
- name: downloads
|
- name: downloads
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ metadata:
|
|||||||
namespace: media
|
namespace: media
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
spec:
|
spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
@@ -20,7 +21,4 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: radarr
|
name: radarr
|
||||||
port:
|
port:
|
||||||
number: 7878
|
name: http
|
||||||
entryPoints:
|
|
||||||
- web
|
|
||||||
- websecure
|
|
||||||
|
|||||||
@@ -7,7 +7,8 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: radarr
|
app: radarr
|
||||||
ports:
|
ports:
|
||||||
- port: 7878
|
- name: http
|
||||||
targetPort: 7878
|
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
port: 7878
|
||||||
|
targetPort: 7878
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: readarr-config
|
||||||
|
namespace: media
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 2Gi
|
||||||
|
storageClassName: longhorn
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: readarr-books
|
||||||
|
namespace: media
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 2Gi
|
||||||
|
storageClassName: longhorn
|
||||||
@@ -3,11 +3,15 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: readarr
|
name: readarr
|
||||||
namespace: media
|
namespace: media
|
||||||
|
labels:
|
||||||
|
app: readarr
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: readarr
|
app: readarr
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
@@ -15,30 +19,38 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: readarr
|
- name: readarr
|
||||||
image: lscr.io/linuxserver/readarr:develop
|
image: lscr.io/linuxserver/readarr:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8787
|
- containerPort: 8787
|
||||||
|
name: http
|
||||||
env:
|
env:
|
||||||
- name: PUID
|
- name: PUID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: PGID
|
- name: PGID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "America/New_York"
|
value: Etc/UTC
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
|
- name: media-data
|
||||||
|
mountPath: /media
|
||||||
- name: books
|
- name: books
|
||||||
mountPath: /books
|
mountPath: /books
|
||||||
- name: downloads
|
resources:
|
||||||
mountPath: /downloads
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 256Mi
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 512Mi
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: readarr-config
|
claimName: readarr-config
|
||||||
|
- name: media-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: media-data
|
||||||
- name: books
|
- name: books
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: readarr-books
|
claimName: readarr-books
|
||||||
- name: downloads
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: readarr-downloads
|
|
||||||
@@ -5,6 +5,7 @@ metadata:
|
|||||||
namespace: media
|
namespace: media
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
spec:
|
spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
@@ -20,7 +21,4 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: readarr
|
name: readarr
|
||||||
port:
|
port:
|
||||||
number: 8787
|
name: http
|
||||||
entryPoints:
|
|
||||||
- web
|
|
||||||
- websecure
|
|
||||||
|
|||||||
@@ -7,7 +7,8 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: readarr
|
app: readarr
|
||||||
ports:
|
ports:
|
||||||
- port: 8787
|
- name: http
|
||||||
targetPort: 8787
|
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
port: 8787
|
||||||
|
targetPort: 8787
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: sonarr-config
|
||||||
|
namespace: media
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 5Gi
|
||||||
|
storageClassName: longhorn
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: sonarr-downloads
|
||||||
|
namespace: media
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 50Gi
|
||||||
|
storageClassName: longhorn
|
||||||
@@ -3,11 +3,15 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: sonarr
|
name: sonarr
|
||||||
namespace: media
|
namespace: media
|
||||||
|
labels:
|
||||||
|
app: sonarr
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: sonarr
|
app: sonarr
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
@@ -15,30 +19,38 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: sonarr
|
- name: sonarr
|
||||||
image: lscr.io/linuxserver/sonarr:develop
|
image: lscr.io/linuxserver/sonarr:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8989
|
- containerPort: 8989
|
||||||
|
name: http
|
||||||
env:
|
env:
|
||||||
- name: PUID
|
- name: PUID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: PGID
|
- name: PGID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "America/New_York"
|
value: Etc/UTC
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
- name: media
|
|
||||||
mountPath: /media
|
|
||||||
- name: downloads
|
- name: downloads
|
||||||
mountPath: /downloads
|
mountPath: /downloads
|
||||||
|
- name: media-data
|
||||||
|
mountPath: /media
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 256Mi
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 512Mi
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: sonarr-config
|
claimName: sonarr-config
|
||||||
- name: media
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: media-data
|
|
||||||
- name: downloads
|
- name: downloads
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: sonarr-downloads
|
claimName: sonarr-downloads
|
||||||
|
- name: media-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: media-data
|
||||||
@@ -5,6 +5,7 @@ metadata:
|
|||||||
namespace: media
|
namespace: media
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
spec:
|
spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
@@ -20,7 +21,4 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: sonarr
|
name: sonarr
|
||||||
port:
|
port:
|
||||||
number: 8989
|
name: http
|
||||||
entryPoints:
|
|
||||||
- web
|
|
||||||
- websecure
|
|
||||||
|
|||||||
@@ -7,7 +7,8 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: sonarr
|
app: sonarr
|
||||||
ports:
|
ports:
|
||||||
- port: 8989
|
- name: http
|
||||||
targetPort: 8989
|
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
port: 8989
|
||||||
|
targetPort: 8989
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: tailscale-auth
|
|
||||||
namespace: tailscale
|
|
||||||
spec:
|
|
||||||
refreshInterval: 1h
|
|
||||||
secretStoreRef:
|
|
||||||
name: orion-vault
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
target:
|
|
||||||
name: tailscale-auth
|
|
||||||
creationPolicy: Owner
|
|
||||||
data:
|
|
||||||
- secretKey: TS_AUTH_KEY
|
|
||||||
remoteRef:
|
|
||||||
key: Talos Cluster/tailscale
|
|
||||||
property: TS_AUTH_KEY
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: tailscale
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
name: tailscale-operator
|
|
||||||
rules:
|
|
||||||
- apiGroups: [""]
|
|
||||||
resources: ["secrets", "configmaps", "services", "pods", "endpoints"]
|
|
||||||
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
|
||||||
- apiGroups: ["apps"]
|
|
||||||
resources: ["deployments", "statefulsets", "daemonsets"]
|
|
||||||
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
|
||||||
- apiGroups: ["networking.k8s.io"]
|
|
||||||
resources: ["ingresses"]
|
|
||||||
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
|
||||||
- apiGroups: ["tailscale.com"]
|
|
||||||
resources: ["*"]
|
|
||||||
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
name: tailscale-operator
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: tailscale-operator
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: tailscale-operator
|
|
||||||
namespace: tailscale
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: tailscale-operator
|
|
||||||
namespace: tailscale
|
|
||||||
labels:
|
|
||||||
app: tailscale-operator
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: tailscale-operator
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: tailscale-operator
|
|
||||||
spec:
|
|
||||||
serviceAccountName: tailscale-operator
|
|
||||||
containers:
|
|
||||||
- name: operator
|
|
||||||
image: ghcr.io/tailscale/k8s-operator:v1.78.3
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
env:
|
|
||||||
- name: POD_NAME
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
fieldPath: metadata.name
|
|
||||||
- name: POD_NAMESPACE
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
fieldPath: metadata.namespace
|
|
||||||
- name: CLIENT_ID_FILE
|
|
||||||
value: /etc/tailscale/oauth/client-id
|
|
||||||
- name: CLIENT_SECRET_FILE
|
|
||||||
value: /etc/tailscale/oauth/client-secret
|
|
||||||
volumeMounts:
|
|
||||||
- name: oauth-secret
|
|
||||||
mountPath: /etc/tailscale/oauth
|
|
||||||
readOnly: true
|
|
||||||
volumes:
|
|
||||||
- name: oauth-secret
|
|
||||||
secret:
|
|
||||||
secretName: tailscale-operator-secret
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: tailscale-operator-secret
|
|
||||||
namespace: tailscale
|
|
||||||
spec:
|
|
||||||
refreshInterval: 1h
|
|
||||||
secretStoreRef:
|
|
||||||
name: orion-vault
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
target:
|
|
||||||
name: tailscale-operator-secret
|
|
||||||
creationPolicy: Owner
|
|
||||||
data:
|
|
||||||
- secretKey: client-id
|
|
||||||
remoteRef:
|
|
||||||
key: tailscale/operator
|
|
||||||
property: CLIENT_ID_FILE
|
|
||||||
- secretKey: client-secret
|
|
||||||
remoteRef:
|
|
||||||
key: tailscale/operator
|
|
||||||
property: CLIENT_SECRET_FILE
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: tailscale-operator
|
|
||||||
namespace: tailscale
|
|
||||||
labels:
|
|
||||||
app: tailscale-operator
|
|
||||||
Reference in New Issue
Block a user