diff --git a/charts/jellyfin/templates/deployment.yaml b/charts/jellyfin/templates/deployment.yaml index 7e9a7a9..fd41b1c 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-longhorn/tv - # name: jf-longhorn-tv-1 + - mountPath: /media-longhorn/tv-1 + 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-longhorn-tv-1 - # persistentVolumeClaim: - # claimName: jf-longhorn-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 8219156..0b269bb 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-longhorn-tv-1 -# spec: -# accessModes: -# - ReadWriteOnce -# storageClassName: longhorn -# resources: -# requests: -# storage: 100Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: jf-longhorn-tv-1 +spec: + accessModes: + - ReadWriteOnce + storageClassName: longhorn + resources: + requests: + storage: 100Gi # --- # # https://forum.jellyfin.org/t-could-not-apply-migration-migrateactivitylogdatabase # apiVersion: v1