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

update jellyfin config
This commit is contained in:
2024-08-05 04:02:12 +10:00
committed by GitHub
3 changed files with 19 additions and 33 deletions

View File

@@ -1,3 +1,10 @@
podSecurityContext:
runAsGroup: 1000
runAsUser: 1000
fsGroup: 1000
containerSecurityContext:
runAsGroup: 1000
runAsUser: 1000
persistence:
config:
enabled: true
@@ -13,6 +20,17 @@ persistence:
- ReadWriteOnce
volumeName: jellyfin-data
storageClassName: local-path
ingress:
enabled: true
ingressClassName: nginx
hostname: "jellyfin.cluster.edward.sydney"
tls: false
extraHosts:
- jellyfin.cluster.local
extraPaths:
- "/"
extraTls:
- false
jellyfin:
mediaVolumes:
- name: movies

View File

@@ -1,31 +0,0 @@
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

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