From 7eb215f7fa40f9782e2fc01fb785bc7f2bb416d0 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Wed, 4 Oct 2023 10:00:57 -0700 Subject: [PATCH] Remove Longhorn Media volumes now fully migrated --- charts/jellyfin/templates/deployment.yaml | 15 ------- charts/jellyfin/templates/volumes.yaml | 48 ----------------------- 2 files changed, 63 deletions(-) diff --git a/charts/jellyfin/templates/deployment.yaml b/charts/jellyfin/templates/deployment.yaml index 42108db..c55df4c 100644 --- a/charts/jellyfin/templates/deployment.yaml +++ b/charts/jellyfin/templates/deployment.yaml @@ -45,12 +45,6 @@ spec: name: jf-config - mountPath: /cache name: jf-cache - - mountPath: /media-longhorn/tv-1 - name: jf-longhorn-tv-1 - - mountPath: /media-longhorn/tv-2 - name: jf-longhorn-tv-2 - - mountPath: /media-longhorn/tv-3 - name: jf-longhorn-tv-3 tolerations: - key: face operator: Equal @@ -69,15 +63,6 @@ spec: - name: jf-cache persistentVolumeClaim: claimName: jf-cache-pvc - - name: jf-longhorn-tv-1 - persistentVolumeClaim: - claimName: jf-longhorn-tv-1 - - name: jf-longhorn-tv-2 - persistentVolumeClaim: - claimName: jf-longhorn-tv-2 - - name: jf-longhorn-tv-3 - persistentVolumeClaim: - claimName: jf-longhorn-tv-3 {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/jellyfin/templates/volumes.yaml b/charts/jellyfin/templates/volumes.yaml index 7fa9897..bc42818 100644 --- a/charts/jellyfin/templates/volumes.yaml +++ b/charts/jellyfin/templates/volumes.yaml @@ -58,54 +58,6 @@ spec: nfs: server: galactus.avril path: /mnt/low-resiliency-with-read-cache/ombi-data/ ---- -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-2 -spec: - accessModes: - - ReadWriteOnce - storageClassName: longhorn - resources: - requests: - storage: 100Gi ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: jf-longhorn-tv-3 -spec: - accessModes: - - ReadWriteOnce - storageClassName: longhorn - resources: - requests: - storage: 50Gi -# --- -# apiVersion: v1 -# kind: PersistentVolumeClaim -# metadata: -# name: jf-truenas-tv-1 -# spec: -# accessModes: -# - ReadWriteMany -# storageClassName: freenas-nfs-csi -# resources: -# requests: -# storage: 3Ti # --- # # https://forum.jellyfin.org/t-could-not-apply-migration-migrateactivitylogdatabase # apiVersion: v1