Compare commits
106 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c212339187 | |||
| 613b584630 | |||
| 8e7c1a2ffd | |||
| c797588088 | |||
| 3254971789 | |||
| 2445c058fc | |||
| b4452ceb6c | |||
| 928b3dcfce | |||
| b7fa149297 | |||
| 2f6bd457b7 | |||
| 9a3f5ba344 | |||
| 0f667bdb5b | |||
| 2aeb3be256 | |||
| 77fded0e99 | |||
| 9be88040a3 | |||
| 8ec36c72fb | |||
| 4a14e3f6d0 | |||
| c045e7698c | |||
| e9673606c8 | |||
| 29e90352cb | |||
| c87944b3c3 | |||
| dd00e71632 | |||
| 0e225e1278 | |||
| da8a88b949 | |||
| 0a53d8e0c8 | |||
| 1fe9a17874 | |||
| 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
-1
@@ -26,4 +26,4 @@ spec:
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
memory: 512Mi
|
||||
@@ -5,10 +5,8 @@ metadata:
|
||||
namespace: apps
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
tls:
|
||||
- hosts:
|
||||
- excalidraw.khalisio.com
|
||||
@@ -23,4 +21,4 @@ spec:
|
||||
service:
|
||||
name: excalidraw
|
||||
port:
|
||||
number: 80
|
||||
number: 80
|
||||
@@ -7,7 +7,7 @@ spec:
|
||||
selector:
|
||||
app: excalidraw
|
||||
ports:
|
||||
- name: http
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
||||
type: ClusterIP
|
||||
type: ClusterIP
|
||||
@@ -3,4 +3,4 @@ kind: Namespace
|
||||
metadata:
|
||||
name: apps
|
||||
labels:
|
||||
name: apps
|
||||
kubernetes.io/metadata.name: apps
|
||||
@@ -0,0 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: game-servers
|
||||
labels:
|
||||
app.kubernetes.io/name: game-servers
|
||||
app.kubernetes.io/managed-by: orion
|
||||
@@ -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:
|
||||
name: bazarr
|
||||
namespace: media
|
||||
labels:
|
||||
app: bazarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
@@ -24,21 +26,26 @@ spec:
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: "America/New_York"
|
||||
value: UTC
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: media
|
||||
mountPath: /media
|
||||
- name: tv
|
||||
mountPath: /tv
|
||||
- name: movies
|
||||
mountPath: /movies
|
||||
- name: podcasts
|
||||
mountPath: /podcasts
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: bazarr-config
|
||||
- name: media
|
||||
- name: tv
|
||||
persistentVolumeClaim:
|
||||
claimName: media-data
|
||||
claimName: sonarr-downloads
|
||||
- name: movies
|
||||
persistentVolumeClaim:
|
||||
claimName: radarr-downloads
|
||||
- name: podcasts
|
||||
persistentVolumeClaim:
|
||||
claimName: bazarr-podcasts
|
||||
claimName: bazarr-podcasts
|
||||
|
||||
@@ -5,6 +5,7 @@ metadata:
|
||||
namespace: media
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
@@ -20,7 +21,4 @@ spec:
|
||||
service:
|
||||
name: bazarr
|
||||
port:
|
||||
number: 6767
|
||||
entryPoints:
|
||||
- web
|
||||
- websecure
|
||||
name: http
|
||||
|
||||
@@ -7,7 +7,8 @@ spec:
|
||||
selector:
|
||||
app: bazarr
|
||||
ports:
|
||||
- port: 6767
|
||||
targetPort: 6767
|
||||
- name: http
|
||||
protocol: TCP
|
||||
type: ClusterIP
|
||||
port: 6767
|
||||
targetPort: 6767
|
||||
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:
|
||||
name: emby
|
||||
namespace: media
|
||||
labels:
|
||||
app: emby
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
@@ -25,7 +27,7 @@ spec:
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: "America/New_York"
|
||||
value: UTC
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
@@ -37,4 +39,4 @@ spec:
|
||||
claimName: emby-config
|
||||
- name: media
|
||||
persistentVolumeClaim:
|
||||
claimName: media-data
|
||||
claimName: media-data
|
||||
|
||||
@@ -5,6 +5,7 @@ metadata:
|
||||
namespace: media
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
@@ -20,7 +21,4 @@ spec:
|
||||
service:
|
||||
name: emby
|
||||
port:
|
||||
number: 8096
|
||||
entryPoints:
|
||||
- web
|
||||
- websecure
|
||||
name: http
|
||||
|
||||
@@ -7,10 +7,12 @@ spec:
|
||||
selector:
|
||||
app: emby
|
||||
ports:
|
||||
- port: 8096
|
||||
- name: http
|
||||
protocol: TCP
|
||||
port: 8096
|
||||
targetPort: 8096
|
||||
- name: https
|
||||
protocol: TCP
|
||||
- port: 8920
|
||||
port: 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:
|
||||
name: lidarr
|
||||
namespace: media
|
||||
labels:
|
||||
app: lidarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
@@ -24,21 +26,21 @@ spec:
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: "America/New_York"
|
||||
value: UTC
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: media
|
||||
mountPath: /media
|
||||
- name: music
|
||||
mountPath: /music
|
||||
- name: downloads
|
||||
mountPath: /downloads
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: lidarr-config
|
||||
- name: media
|
||||
- name: music
|
||||
persistentVolumeClaim:
|
||||
claimName: media-data
|
||||
- name: downloads
|
||||
persistentVolumeClaim:
|
||||
claimName: lidarr-downloads
|
||||
claimName: lidarr-downloads
|
||||
|
||||
@@ -5,6 +5,7 @@ metadata:
|
||||
namespace: media
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
@@ -20,7 +21,4 @@ spec:
|
||||
service:
|
||||
name: lidarr
|
||||
port:
|
||||
number: 8686
|
||||
entryPoints:
|
||||
- web
|
||||
- websecure
|
||||
name: http
|
||||
|
||||
@@ -7,7 +7,8 @@ spec:
|
||||
selector:
|
||||
app: lidarr
|
||||
ports:
|
||||
- port: 8686
|
||||
targetPort: 8686
|
||||
- name: http
|
||||
protocol: TCP
|
||||
type: ClusterIP
|
||||
port: 8686
|
||||
targetPort: 8686
|
||||
type: ClusterIP
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: media-data
|
||||
namespace: media
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 500Gi
|
||||
@@ -5,8 +5,8 @@ metadata:
|
||||
namespace: media
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 500Gi
|
||||
storageClassName: longhorn
|
||||
@@ -3,4 +3,4 @@ kind: Namespace
|
||||
metadata:
|
||||
name: media
|
||||
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:
|
||||
name: prowlarr
|
||||
namespace: media
|
||||
labels:
|
||||
app: prowlarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
@@ -24,11 +26,11 @@ spec:
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: "America/New_York"
|
||||
value: UTC
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: prowlarr-config
|
||||
claimName: prowlarr-config
|
||||
|
||||
@@ -5,6 +5,7 @@ metadata:
|
||||
namespace: media
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
@@ -20,7 +21,4 @@ spec:
|
||||
service:
|
||||
name: prowlarr
|
||||
port:
|
||||
number: 9696
|
||||
entryPoints:
|
||||
- web
|
||||
- websecure
|
||||
name: http
|
||||
|
||||
@@ -7,7 +7,8 @@ spec:
|
||||
selector:
|
||||
app: prowlarr
|
||||
ports:
|
||||
- port: 9696
|
||||
targetPort: 9696
|
||||
- name: http
|
||||
protocol: TCP
|
||||
type: ClusterIP
|
||||
port: 9696
|
||||
targetPort: 9696
|
||||
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:
|
||||
name: radarr
|
||||
namespace: media
|
||||
labels:
|
||||
app: radarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
@@ -24,21 +26,21 @@ spec:
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: "America/New_York"
|
||||
value: UTC
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: media
|
||||
mountPath: /media
|
||||
- name: movies
|
||||
mountPath: /movies
|
||||
- name: downloads
|
||||
mountPath: /downloads
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: radarr-config
|
||||
- name: media
|
||||
- name: movies
|
||||
persistentVolumeClaim:
|
||||
claimName: media-data
|
||||
- name: downloads
|
||||
persistentVolumeClaim:
|
||||
claimName: radarr-downloads
|
||||
claimName: radarr-downloads
|
||||
|
||||
@@ -5,6 +5,7 @@ metadata:
|
||||
namespace: media
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
@@ -20,7 +21,4 @@ spec:
|
||||
service:
|
||||
name: radarr
|
||||
port:
|
||||
number: 7878
|
||||
entryPoints:
|
||||
- web
|
||||
- websecure
|
||||
name: http
|
||||
|
||||
@@ -7,7 +7,8 @@ spec:
|
||||
selector:
|
||||
app: radarr
|
||||
ports:
|
||||
- port: 7878
|
||||
targetPort: 7878
|
||||
- name: http
|
||||
protocol: TCP
|
||||
type: ClusterIP
|
||||
port: 7878
|
||||
targetPort: 7878
|
||||
type: ClusterIP
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: readarr
|
||||
namespace: media
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: readarr
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: readarr
|
||||
spec:
|
||||
containers:
|
||||
- name: readarr
|
||||
image: lscr.io/linuxserver/readarr:develop
|
||||
ports:
|
||||
- containerPort: 8787
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: "America/New_York"
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: books
|
||||
mountPath: /books
|
||||
- name: downloads
|
||||
mountPath: /downloads
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: readarr-config
|
||||
- name: books
|
||||
persistentVolumeClaim:
|
||||
claimName: readarr-books
|
||||
- name: downloads
|
||||
persistentVolumeClaim:
|
||||
claimName: readarr-downloads
|
||||
@@ -1,26 +0,0 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: readarr
|
||||
namespace: media
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- readarr.khalisio.com
|
||||
secretName: readarr-tls
|
||||
rules:
|
||||
- host: readarr.khalisio.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: readarr
|
||||
port:
|
||||
number: 8787
|
||||
entryPoints:
|
||||
- web
|
||||
- websecure
|
||||
@@ -1,13 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: readarr
|
||||
namespace: media
|
||||
spec:
|
||||
selector:
|
||||
app: readarr
|
||||
ports:
|
||||
- port: 8787
|
||||
targetPort: 8787
|
||||
protocol: TCP
|
||||
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:
|
||||
name: sonarr
|
||||
namespace: media
|
||||
labels:
|
||||
app: sonarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: sonarr
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
@@ -15,30 +19,38 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: sonarr
|
||||
image: lscr.io/linuxserver/sonarr:develop
|
||||
image: lscr.io/linuxserver/sonarr:latest
|
||||
ports:
|
||||
- containerPort: 8989
|
||||
name: http
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: "America/New_York"
|
||||
value: Etc/UTC
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: media
|
||||
mountPath: /media
|
||||
- name: downloads
|
||||
mountPath: /downloads
|
||||
- name: media-data
|
||||
mountPath: /media
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: sonarr-config
|
||||
- name: media
|
||||
persistentVolumeClaim:
|
||||
claimName: media-data
|
||||
- name: downloads
|
||||
persistentVolumeClaim:
|
||||
claimName: sonarr-downloads
|
||||
claimName: sonarr-downloads
|
||||
- name: media-data
|
||||
persistentVolumeClaim:
|
||||
claimName: media-data
|
||||
@@ -5,6 +5,7 @@ metadata:
|
||||
namespace: media
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
@@ -20,7 +21,4 @@ spec:
|
||||
service:
|
||||
name: sonarr
|
||||
port:
|
||||
number: 8989
|
||||
entryPoints:
|
||||
- web
|
||||
- websecure
|
||||
name: http
|
||||
|
||||
@@ -7,7 +7,8 @@ spec:
|
||||
selector:
|
||||
app: sonarr
|
||||
ports:
|
||||
- port: 8989
|
||||
targetPort: 8989
|
||||
- name: http
|
||||
protocol: TCP
|
||||
type: ClusterIP
|
||||
port: 8989
|
||||
targetPort: 8989
|
||||
type: ClusterIP
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: pelican-panel
|
||||
namespace: pelican
|
||||
labels:
|
||||
app.kubernetes.io/name: pelican
|
||||
app.kubernetes.io/component: panel
|
||||
app.kubernetes.io/managed-by: orion
|
||||
spec:
|
||||
replicas: 2
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 0
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: pelican
|
||||
app.kubernetes.io/component: panel
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: pelican
|
||||
app.kubernetes.io/component: panel
|
||||
spec:
|
||||
containers:
|
||||
- name: panel
|
||||
image: ghcr.io/pelican-dev/panel:latest
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: APP_ENV
|
||||
value: production
|
||||
- name: APP_NAME
|
||||
value: "Pelican"
|
||||
- name: APP_URL
|
||||
value: "https://pelican.khalisio.com"
|
||||
- name: DB_HOST
|
||||
value: postgres.pelican.svc.cluster.local
|
||||
- name: DB_PORT
|
||||
value: "5432"
|
||||
- name: DB_DATABASE
|
||||
value: pelican
|
||||
- name: DB_USERNAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: pelican-panel-db
|
||||
key: DB_USER
|
||||
- name: DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: pelican-panel-db
|
||||
key: DB_PASSWORD
|
||||
- name: APP_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: pelican-panel-app
|
||||
key: APP_KEY
|
||||
- name: SESSION_SECURE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: pelican-panel-app
|
||||
key: SESSION_SECURE
|
||||
- name: OAUTH_CLIENT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: pelican-panel-app
|
||||
key: OAUTH_CLIENT_SECRET
|
||||
- name: OAUTH_CLIENT_ID
|
||||
value: pelican-panel
|
||||
- name: OAUTH_BASE_URI
|
||||
value: "https://pelican.khalisio.com"
|
||||
- name: OAUTH_AUTH_SERVER_URI
|
||||
value: "https://auth.khalisio.com"
|
||||
- name: OAUTH_CLIENT_PORTAL_URI
|
||||
value: "https://auth.khalisio.com"
|
||||
- name: OAUTH_CLIENT_ADMIN_URI
|
||||
value: "https://auth.khalisio.com"
|
||||
- name: CACHE_DRIVER
|
||||
value: file
|
||||
- name: SESSION_DRIVER
|
||||
value: file
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /var/www/app/storage
|
||||
- name: logs
|
||||
mountPath: /var/www/app/storage/logs
|
||||
- name: uploads
|
||||
mountPath: /var/www/app/public/uploads
|
||||
- name: pufferpanel
|
||||
mountPath: /var/www/app/storage/pufferpanel
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: pelican-data
|
||||
- name: logs
|
||||
persistentVolumeClaim:
|
||||
claimName: pelican-logs
|
||||
- name: uploads
|
||||
persistentVolumeClaim:
|
||||
claimName: pelican-data
|
||||
- name: pufferpanel
|
||||
persistentVolumeClaim:
|
||||
claimName: pelican-data
|
||||
@@ -0,0 +1,23 @@
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: pelican-panel-app
|
||||
namespace: pelican
|
||||
spec:
|
||||
refreshInterval: 1h
|
||||
target:
|
||||
name: pelican-panel-app
|
||||
creationPolicy: Owner
|
||||
data:
|
||||
- secretKey: APP_KEY
|
||||
remoteRef:
|
||||
key: secret/data/Talos Cluster/pelican/panel/app
|
||||
property: APP_KEY
|
||||
- secretKey: SESSION_SECURE
|
||||
remoteRef:
|
||||
key: secret/data/Talos Cluster/pelican/panel/app
|
||||
property: SESSION_SECURE
|
||||
- secretKey: OAUTH_CLIENT_SECRET
|
||||
remoteRef:
|
||||
key: secret/data/Talos Cluster/pelican/panel/app
|
||||
property: OAUTH_CLIENT_SECRET
|
||||
@@ -0,0 +1,15 @@
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: pelican-autostart-key
|
||||
namespace: pelican
|
||||
spec:
|
||||
refreshInterval: 1h
|
||||
target:
|
||||
name: pelican-autostart-key
|
||||
creationPolicy: Owner
|
||||
data:
|
||||
- secretKey: api_key
|
||||
remoteRef:
|
||||
key: secret/data/Talos Cluster/pelican/panel/autostart
|
||||
property: api_key
|
||||
@@ -0,0 +1,19 @@
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: pelican-panel-db
|
||||
namespace: pelican
|
||||
spec:
|
||||
refreshInterval: 1h
|
||||
target:
|
||||
name: pelican-panel-db
|
||||
creationPolicy: Owner
|
||||
data:
|
||||
- secretKey: DB_PASSWORD
|
||||
remoteRef:
|
||||
key: secret/data/Talos Cluster/pelican/panel/db
|
||||
property: DB_PASSWORD
|
||||
- secretKey: DB_USER
|
||||
remoteRef:
|
||||
key: secret/data/Talos Cluster/pelican/panel/db
|
||||
property: DB_USER
|
||||
@@ -0,0 +1,19 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: pelican-panel
|
||||
namespace: pelican
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
tls:
|
||||
secretName: pelican-panel-tls
|
||||
routes:
|
||||
- match: Host(`pelican.khalisio.com`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: pelican-panel
|
||||
port: 80
|
||||
scheme: http
|
||||
@@ -0,0 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: pelican
|
||||
labels:
|
||||
app.kubernetes.io/name: pelican
|
||||
app.kubernetes.io/managed-by: orion
|
||||
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: pelican-panel
|
||||
namespace: pelican
|
||||
labels:
|
||||
app.kubernetes.io/name: pelican
|
||||
app.kubernetes.io/component: panel
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app.kubernetes.io/name: pelican
|
||||
app.kubernetes.io/component: panel
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
protocol: TCP
|
||||
@@ -0,0 +1,25 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: pelican-data
|
||||
namespace: pelican
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 20Gi
|
||||
storageClassName: longhorn
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: pelican-logs
|
||||
namespace: pelican
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
storageClassName: longhorn
|
||||
@@ -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