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
version: 0.0.0
dependencies:
- name: jellyfin
version: 9.3.0
repository: https://k8s-at-home.com/charts/
- name: app-template
version: 2.5.0
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:
main:
enabled: true
ingressClassName: nginx
className: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
@ -10,7 +23,22 @@ jellyfin:
paths:
- path: /
pathType: Prefix
service:
name: main
port: http
tls:
- secretName: jellyfin-tls-certificate
hosts:
- *host
persistence:
config:
enabled: true
accessMode: ReadWriteOnce
size: 1Gi
globalMounts:
- path: /config
media:
accessMode: ReadWriteOnce
size: 20Gi
globalMounts:
- path: /media