From d9d4031ab7aab5c951db0f757c7ab561804c4777 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Mon, 24 Jul 2023 22:16:55 -0700 Subject: [PATCH] Remove Volume so Longhorn StorageClass can be recreated with Retain --- charts/jellyfin/templates/deployment.yaml | 10 +++++----- charts/jellyfin/templates/volumes.yaml | 24 +++++++++++------------ 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/charts/jellyfin/templates/deployment.yaml b/charts/jellyfin/templates/deployment.yaml index 4555082..7e9a7a9 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 + # 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 0b269bb..8219156 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