Merge pull request 'feat: reorganize media apps under namespace folders with media PVC' (#57) from orion/auto/feat-reorganize-media-apps-under-namespa-1779056222548 into main
Reviewed-on: #57
This commit was merged in pull request #57.
This commit is contained in:
@@ -3,8 +3,6 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: bazarr
|
name: bazarr
|
||||||
namespace: media
|
namespace: media
|
||||||
labels:
|
|
||||||
app: bazarr
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -20,11 +18,27 @@ spec:
|
|||||||
image: lscr.io/linuxserver/bazarr:latest
|
image: lscr.io/linuxserver/bazarr:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 6767
|
- containerPort: 6767
|
||||||
env: []
|
env:
|
||||||
resources:
|
- name: PUID
|
||||||
requests:
|
value: "1000"
|
||||||
cpu: 100m
|
- name: PGID
|
||||||
memory: 128Mi
|
value: "1000"
|
||||||
limits:
|
- name: TZ
|
||||||
cpu: 500m
|
value: "America/New_York"
|
||||||
memory: 512Mi
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /config
|
||||||
|
- name: media
|
||||||
|
mountPath: /media
|
||||||
|
- name: podcasts
|
||||||
|
mountPath: /podcasts
|
||||||
|
volumes:
|
||||||
|
- name: config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: bazarr-config
|
||||||
|
- name: media
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: media-data
|
||||||
|
- name: podcasts
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: bazarr-podcasts
|
||||||
@@ -1,18 +1,26 @@
|
|||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: IngressRoute
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: bazarr
|
name: bazarr
|
||||||
namespace: media
|
namespace: media
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: traefik-internal
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`bazarr.{{ DOMAIN }}`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: bazarr
|
|
||||||
port: 6767
|
|
||||||
tls:
|
tls:
|
||||||
secretName: bazarr-tls-secret
|
- hosts:
|
||||||
|
- bazarr.khalisio.com
|
||||||
|
secretName: bazarr-tls
|
||||||
|
rules:
|
||||||
|
- host: bazarr.khalisio.com
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: bazarr
|
||||||
|
port:
|
||||||
|
number: 6767
|
||||||
|
entryPoints:
|
||||||
|
- web
|
||||||
|
- websecure
|
||||||
@@ -9,4 +9,5 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- port: 6767
|
- port: 6767
|
||||||
targetPort: 6767
|
targetPort: 6767
|
||||||
name: http
|
protocol: TCP
|
||||||
|
type: ClusterIP
|
||||||
@@ -3,8 +3,6 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: emby
|
name: emby
|
||||||
namespace: media
|
namespace: media
|
||||||
labels:
|
|
||||||
app: emby
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -17,15 +15,26 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: emby
|
- name: emby
|
||||||
image: emby/embyserver:latest
|
image: lscr.io/linuxserver/emby:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8096
|
- containerPort: 8096
|
||||||
- containerPort: 8920
|
- containerPort: 8920
|
||||||
env: []
|
env:
|
||||||
resources:
|
- name: PUID
|
||||||
requests:
|
value: "1000"
|
||||||
cpu: 500m
|
- name: PGID
|
||||||
memory: 1Gi
|
value: "1000"
|
||||||
limits:
|
- name: TZ
|
||||||
cpu: 2000m
|
value: "America/New_York"
|
||||||
memory: 4Gi
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /config
|
||||||
|
- name: media
|
||||||
|
mountPath: /media
|
||||||
|
volumes:
|
||||||
|
- name: config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: emby-config
|
||||||
|
- name: media
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: media-data
|
||||||
@@ -1,18 +1,26 @@
|
|||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: IngressRoute
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: emby
|
name: emby
|
||||||
namespace: media
|
namespace: media
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: traefik-internal
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`emby.{{ DOMAIN }}`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: emby
|
|
||||||
port: 8096
|
|
||||||
tls:
|
tls:
|
||||||
secretName: emby-tls-secret
|
- hosts:
|
||||||
|
- emby.khalisio.com
|
||||||
|
secretName: emby-tls
|
||||||
|
rules:
|
||||||
|
- host: emby.khalisio.com
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: emby
|
||||||
|
port:
|
||||||
|
number: 8096
|
||||||
|
entryPoints:
|
||||||
|
- web
|
||||||
|
- websecure
|
||||||
@@ -9,7 +9,8 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- port: 8096
|
- port: 8096
|
||||||
targetPort: 8096
|
targetPort: 8096
|
||||||
name: http
|
protocol: TCP
|
||||||
- port: 8920
|
- port: 8920
|
||||||
targetPort: 8920
|
targetPort: 8920
|
||||||
name: https
|
protocol: TCP
|
||||||
|
type: ClusterIP
|
||||||
@@ -3,8 +3,6 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: lidarr
|
name: lidarr
|
||||||
namespace: media
|
namespace: media
|
||||||
labels:
|
|
||||||
app: lidarr
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -20,11 +18,27 @@ spec:
|
|||||||
image: lscr.io/linuxserver/lidarr:latest
|
image: lscr.io/linuxserver/lidarr:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8686
|
- containerPort: 8686
|
||||||
env: []
|
env:
|
||||||
resources:
|
- name: PUID
|
||||||
requests:
|
value: "1000"
|
||||||
cpu: 100m
|
- name: PGID
|
||||||
memory: 128Mi
|
value: "1000"
|
||||||
limits:
|
- name: TZ
|
||||||
cpu: 500m
|
value: "America/New_York"
|
||||||
memory: 512Mi
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /config
|
||||||
|
- name: media
|
||||||
|
mountPath: /media
|
||||||
|
- name: downloads
|
||||||
|
mountPath: /downloads
|
||||||
|
volumes:
|
||||||
|
- name: config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: lidarr-config
|
||||||
|
- name: media
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: media-data
|
||||||
|
- name: downloads
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: lidarr-downloads
|
||||||
@@ -1,18 +1,26 @@
|
|||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: IngressRoute
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: lidarr
|
name: lidarr
|
||||||
namespace: media
|
namespace: media
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: traefik-internal
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`lidarr.{{ DOMAIN }}`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: lidarr
|
|
||||||
port: 8686
|
|
||||||
tls:
|
tls:
|
||||||
secretName: lidarr-tls-secret
|
- hosts:
|
||||||
|
- lidarr.khalisio.com
|
||||||
|
secretName: lidarr-tls
|
||||||
|
rules:
|
||||||
|
- host: lidarr.khalisio.com
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: lidarr
|
||||||
|
port:
|
||||||
|
number: 8686
|
||||||
|
entryPoints:
|
||||||
|
- web
|
||||||
|
- websecure
|
||||||
@@ -9,4 +9,5 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- port: 8686
|
- port: 8686
|
||||||
targetPort: 8686
|
targetPort: 8686
|
||||||
name: http
|
protocol: TCP
|
||||||
|
type: ClusterIP
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: media-data
|
||||||
|
namespace: media
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 500Gi
|
||||||
|
storageClassName: longhorn
|
||||||
@@ -3,4 +3,4 @@ kind: Namespace
|
|||||||
metadata:
|
metadata:
|
||||||
name: media
|
name: media
|
||||||
labels:
|
labels:
|
||||||
name: media
|
app.kubernetes.io/managed-by: orion
|
||||||
@@ -3,8 +3,6 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: prowlarr
|
name: prowlarr
|
||||||
namespace: media
|
namespace: media
|
||||||
labels:
|
|
||||||
app: prowlarr
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -20,11 +18,17 @@ spec:
|
|||||||
image: lscr.io/linuxserver/prowlarr:latest
|
image: lscr.io/linuxserver/prowlarr:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9696
|
- containerPort: 9696
|
||||||
env: []
|
env:
|
||||||
resources:
|
- name: PUID
|
||||||
requests:
|
value: "1000"
|
||||||
cpu: 100m
|
- name: PGID
|
||||||
memory: 128Mi
|
value: "1000"
|
||||||
limits:
|
- name: TZ
|
||||||
cpu: 500m
|
value: "America/New_York"
|
||||||
memory: 512Mi
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /config
|
||||||
|
volumes:
|
||||||
|
- name: config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: prowlarr-config
|
||||||
@@ -1,18 +1,26 @@
|
|||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: IngressRoute
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: prowlarr
|
name: prowlarr
|
||||||
namespace: media
|
namespace: media
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: traefik-internal
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`prowlarr.{{ DOMAIN }}`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: prowlarr
|
|
||||||
port: 9696
|
|
||||||
tls:
|
tls:
|
||||||
secretName: prowlarr-tls-secret
|
- hosts:
|
||||||
|
- prowlarr.khalisio.com
|
||||||
|
secretName: prowlarr-tls
|
||||||
|
rules:
|
||||||
|
- host: prowlarr.khalisio.com
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: prowlarr
|
||||||
|
port:
|
||||||
|
number: 9696
|
||||||
|
entryPoints:
|
||||||
|
- web
|
||||||
|
- websecure
|
||||||
@@ -9,4 +9,5 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- port: 9696
|
- port: 9696
|
||||||
targetPort: 9696
|
targetPort: 9696
|
||||||
name: http
|
protocol: TCP
|
||||||
|
type: ClusterIP
|
||||||
@@ -3,8 +3,6 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: radarr
|
name: radarr
|
||||||
namespace: media
|
namespace: media
|
||||||
labels:
|
|
||||||
app: radarr
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -20,11 +18,27 @@ spec:
|
|||||||
image: lscr.io/linuxserver/radarr:latest
|
image: lscr.io/linuxserver/radarr:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 7878
|
- containerPort: 7878
|
||||||
env: []
|
env:
|
||||||
resources:
|
- name: PUID
|
||||||
requests:
|
value: "1000"
|
||||||
cpu: 100m
|
- name: PGID
|
||||||
memory: 128Mi
|
value: "1000"
|
||||||
limits:
|
- name: TZ
|
||||||
cpu: 500m
|
value: "America/New_York"
|
||||||
memory: 512Mi
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /config
|
||||||
|
- name: media
|
||||||
|
mountPath: /media
|
||||||
|
- name: downloads
|
||||||
|
mountPath: /downloads
|
||||||
|
volumes:
|
||||||
|
- name: config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: radarr-config
|
||||||
|
- name: media
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: media-data
|
||||||
|
- name: downloads
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: radarr-downloads
|
||||||
@@ -1,18 +1,26 @@
|
|||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: IngressRoute
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: radarr
|
name: radarr
|
||||||
namespace: media
|
namespace: media
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: traefik-internal
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`radarr.{{ DOMAIN }}`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: radarr
|
|
||||||
port: 7878
|
|
||||||
tls:
|
tls:
|
||||||
secretName: radarr-tls-secret
|
- hosts:
|
||||||
|
- radarr.khalisio.com
|
||||||
|
secretName: radarr-tls
|
||||||
|
rules:
|
||||||
|
- host: radarr.khalisio.com
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: radarr
|
||||||
|
port:
|
||||||
|
number: 7878
|
||||||
|
entryPoints:
|
||||||
|
- web
|
||||||
|
- websecure
|
||||||
@@ -9,4 +9,5 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- port: 7878
|
- port: 7878
|
||||||
targetPort: 7878
|
targetPort: 7878
|
||||||
name: http
|
protocol: TCP
|
||||||
|
type: ClusterIP
|
||||||
@@ -3,8 +3,6 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: readarr
|
name: readarr
|
||||||
namespace: media
|
namespace: media
|
||||||
labels:
|
|
||||||
app: readarr
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -17,14 +15,30 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: readarr
|
- name: readarr
|
||||||
image: lscr.io/linuxserver/readarr:latest
|
image: lscr.io/linuxserver/readarr:develop
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8787
|
- containerPort: 8787
|
||||||
env: []
|
env:
|
||||||
resources:
|
- name: PUID
|
||||||
requests:
|
value: "1000"
|
||||||
cpu: 100m
|
- name: PGID
|
||||||
memory: 128Mi
|
value: "1000"
|
||||||
limits:
|
- name: TZ
|
||||||
cpu: 500m
|
value: "America/New_York"
|
||||||
memory: 512Mi
|
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,18 +1,26 @@
|
|||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: IngressRoute
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: readarr
|
name: readarr
|
||||||
namespace: media
|
namespace: media
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: traefik-internal
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`readarr.{{ DOMAIN }}`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: readarr
|
|
||||||
port: 8787
|
|
||||||
tls:
|
tls:
|
||||||
secretName: readarr-tls-secret
|
- 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
|
||||||
@@ -9,4 +9,5 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- port: 8787
|
- port: 8787
|
||||||
targetPort: 8787
|
targetPort: 8787
|
||||||
name: http
|
protocol: TCP
|
||||||
|
type: ClusterIP
|
||||||
@@ -3,8 +3,6 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: sonarr
|
name: sonarr
|
||||||
namespace: media
|
namespace: media
|
||||||
labels:
|
|
||||||
app: sonarr
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -17,14 +15,30 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: sonarr
|
- name: sonarr
|
||||||
image: lscr.io/linuxserver/sonarr:latest
|
image: lscr.io/linuxserver/sonarr:develop
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8989
|
- containerPort: 8989
|
||||||
env: []
|
env:
|
||||||
resources:
|
- name: PUID
|
||||||
requests:
|
value: "1000"
|
||||||
cpu: 100m
|
- name: PGID
|
||||||
memory: 128Mi
|
value: "1000"
|
||||||
limits:
|
- name: TZ
|
||||||
cpu: 500m
|
value: "America/New_York"
|
||||||
memory: 512Mi
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /config
|
||||||
|
- name: media
|
||||||
|
mountPath: /media
|
||||||
|
- name: downloads
|
||||||
|
mountPath: /downloads
|
||||||
|
volumes:
|
||||||
|
- name: config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: sonarr-config
|
||||||
|
- name: media
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: media-data
|
||||||
|
- name: downloads
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: sonarr-downloads
|
||||||
@@ -1,18 +1,26 @@
|
|||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: IngressRoute
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: sonarr
|
name: sonarr
|
||||||
namespace: media
|
namespace: media
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: traefik-internal
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`sonarr.{{ DOMAIN }}`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: sonarr
|
|
||||||
port: 8989
|
|
||||||
tls:
|
tls:
|
||||||
secretName: sonarr-tls-secret
|
- hosts:
|
||||||
|
- sonarr.khalisio.com
|
||||||
|
secretName: sonarr-tls
|
||||||
|
rules:
|
||||||
|
- host: sonarr.khalisio.com
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: sonarr
|
||||||
|
port:
|
||||||
|
number: 8989
|
||||||
|
entryPoints:
|
||||||
|
- web
|
||||||
|
- websecure
|
||||||
@@ -9,4 +9,5 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- port: 8989
|
- port: 8989
|
||||||
targetPort: 8989
|
targetPort: 8989
|
||||||
name: http
|
protocol: TCP
|
||||||
|
type: ClusterIP
|
||||||
Reference in New Issue
Block a user