Merge pull request #748 from 3dwardch3ng/app/jellyfin

fix jellyfin ingress
This commit is contained in:
2024-08-05 04:18:24 +10:00
committed by GitHub
3 changed files with 33 additions and 14 deletions

View File

@@ -20,19 +20,6 @@ persistence:
- ReadWriteOnce - ReadWriteOnce
volumeName: jellyfin-data volumeName: jellyfin-data
storageClassName: local-path storageClassName: local-path
ingress:
enabled: true
ingressClassName: nginx
hostname: "jellyfin.cluster.edward.sydney"
tls: false
extraHosts:
- name: "jellyfin.cluster.local"
extraPaths:
- path: /*
pathType: ImplementationSpecific
backend:
serviceName: jellyfin
servicePort: 8096
jellyfin: jellyfin:
mediaVolumes: mediaVolumes:
- name: movies - name: movies

View File

@@ -0,0 +1,31 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: jellyfin-ingress
namespace: jellyfin
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/use-regex: "true"
spec:
ingressClassName: nginx
rules:
- host: "jellyfin.cluster.local"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: jellyfin
port:
number: 8096
- host: "jellyfin.cluster.edward.sydney"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: jellyfin
port:
number: 8096

View File

@@ -1,4 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ../../base - ../../base
- ./ingress.yaml