refactor(jellyfin): use app-template chart

Charts from k8s-at-home repository are deprecated.
This commit is contained in:
Khue Doan
2024-01-17 21:15:16 +07:00
parent 1af664d6c0
commit 3fa84e0e52
2 changed files with 33 additions and 6 deletions

View File

@ -1,7 +1,6 @@
apiVersion: v2
name: jellyfin name: jellyfin
version: 0.0.0 version: 0.0.0
dependencies: dependencies:
- name: jellyfin - name: app-template
version: 9.3.0 version: 2.5.0
repository: https://k8s-at-home.com/charts/ repository: https://bjw-s.github.io/helm-charts

View File

@ -1,8 +1,21 @@
jellyfin: app-template:
controllers:
main:
containers:
main:
image:
repository: docker.io/jellyfin/jellyfin
tag: 10.8.13
service:
main:
ports:
http:
port: 8096
protocol: HTTP
ingress: ingress:
main: main:
enabled: true enabled: true
ingressClassName: nginx className: nginx
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod cert-manager.io/cluster-issuer: letsencrypt-prod
hosts: hosts:
@ -10,7 +23,22 @@ jellyfin:
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
service:
name: main
port: http
tls: tls:
- secretName: jellyfin-tls-certificate - secretName: jellyfin-tls-certificate
hosts: hosts:
- *host - *host
persistence:
config:
enabled: true
accessMode: ReadWriteOnce
size: 1Gi
globalMounts:
- path: /config
media:
accessMode: ReadWriteOnce
size: 20Gi
globalMounts:
- path: /media