diff --git a/charts/jellyfin/templates/deployment.yaml b/charts/jellyfin/templates/deployment.yaml index e3c1441..4555082 100644 --- a/charts/jellyfin/templates/deployment.yaml +++ b/charts/jellyfin/templates/deployment.yaml @@ -42,8 +42,8 @@ spec: name: jf-config - mountPath: /cache name: jf-cache - # - mountPath: /media-ceph/tv - # name: jf-ceph-tv-1 + - mountPath: /media-longhorn/tv + name: jf-longhorn-tv-1 tolerations: - key: face operator: Equal @@ -59,9 +59,9 @@ spec: - name: jf-cache persistentVolumeClaim: claimName: jf-cache-pvc - # - name: jf-ceph-tv-1 - # persistentVolumeClaim: - # claimName: jf-ceph-tv-1 + - name: jf-longhorn-tv-1 + persistentVolumeClaim: + claimName: jf-longhorn-tv-1 {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/jellyfin/templates/volumes.yaml b/charts/jellyfin/templates/volumes.yaml index 770a976..756ffbf 100644 --- a/charts/jellyfin/templates/volumes.yaml +++ b/charts/jellyfin/templates/volumes.yaml @@ -32,18 +32,18 @@ spec: requests: storage: {{ .config.size | quote }} {{- end}} -# --- -# apiVersion: v1 -# kind: PersistentVolumeClaim -# metadata: -# name: jf-ceph-tv-1 -# spec: -# accessModes: -# - ReadWriteOnce -# storageClassName: ceph-filesystem -# resources: -# requests: -# storage: 500Mi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: jf-longhorn-tv-1 +spec: + accessModes: + - ReadWriteOnce + storageClassName: longhorn + resources: + requests: + storage: 500Mi # --- # # https://forum.jellyfin.org/t-could-not-apply-migration-migrateactivitylogdatabase # apiVersion: v1