Compare commits
45 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 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 |
@@ -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:
|
||||||
@@ -18,27 +22,32 @@ spec:
|
|||||||
image: lscr.io/linuxserver/readarr:develop
|
image: lscr.io/linuxserver/readarr:develop
|
||||||
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
|
||||||
|
- name: UMASK_SET
|
||||||
|
value: "022"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
- name: books
|
- name: media-data
|
||||||
mountPath: /books
|
mountPath: /mnt/media
|
||||||
- name: downloads
|
resources:
|
||||||
mountPath: /downloads
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 256Mi
|
||||||
|
limits:
|
||||||
|
cpu: "1"
|
||||||
|
memory: 1Gi
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: readarr-config
|
claimName: readarr-config
|
||||||
- name: books
|
- name: media-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: readarr-books
|
claimName: media-data
|
||||||
- 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,6 +3,8 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: sonarr
|
name: sonarr
|
||||||
namespace: media
|
namespace: media
|
||||||
|
labels:
|
||||||
|
app: sonarr
|
||||||
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: tv
|
||||||
mountPath: /media
|
mountPath: /tv
|
||||||
- name: downloads
|
- name: downloads
|
||||||
mountPath: /downloads
|
mountPath: /downloads
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: sonarr-config
|
claimName: sonarr-config
|
||||||
- name: media
|
- name: tv
|
||||||
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: 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,6 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: tailscale
|
|
||||||
labels:
|
|
||||||
kubernetes.io/metadata.name: tailscale
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
name: tailscale-operator
|
|
||||||
rules:
|
|
||||||
- apiGroups: [""]
|
|
||||||
resources: ["pods", "services", "secrets", "configmaps"]
|
|
||||||
verbs: ["*"]
|
|
||||||
- apiGroups: ["apps"]
|
|
||||||
resources: ["deployments", "daemonsets", "statefulsets"]
|
|
||||||
verbs: ["*"]
|
|
||||||
- apiGroups: ["networking.k8s.io"]
|
|
||||||
resources: ["networkpolicies", "ingresses"]
|
|
||||||
verbs: ["*"]
|
|
||||||
@@ -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,31 +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/operator:v1.70.0
|
|
||||||
env:
|
|
||||||
- name: DEPLOY_TYPE
|
|
||||||
value: k8s
|
|
||||||
volumeMounts:
|
|
||||||
- name: config
|
|
||||||
mountPath: /config
|
|
||||||
volumes:
|
|
||||||
- name: config
|
|
||||||
secret:
|
|
||||||
secretName: tailscale-operator-config
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
apiVersion: external-secrets.io/v1beta1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: tailscale-operator
|
|
||||||
namespace: tailscale
|
|
||||||
spec:
|
|
||||||
refreshInterval: 1h
|
|
||||||
secretStoreRef:
|
|
||||||
name: vault
|
|
||||||
kind: SecretStore
|
|
||||||
target:
|
|
||||||
name: tailscale-operator
|
|
||||||
template:
|
|
||||||
engineVersion: v2
|
|
||||||
data:
|
|
||||||
TS_AUTHKEY: "{{ .TS_AUTHKEY }}"
|
|
||||||
data:
|
|
||||||
- secretKey: TS_AUTHKEY
|
|
||||||
remoteRef:
|
|
||||||
key: secret/data/kubernetes/tailscale-operator
|
|
||||||
property: TS_AUTHKEY
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: tailscale-operator
|
|
||||||
namespace: tailscale
|
|
||||||
Reference in New Issue
Block a user