diff --git a/jellyfin/Chart.yaml b/jellyfin/Chart.yaml index 9bbde36..9939f5d 100644 --- a/jellyfin/Chart.yaml +++ b/jellyfin/Chart.yaml @@ -14,7 +14,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 0.1.4 +version: 0.1.5 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. diff --git a/jellyfin/templates/statefulset.yaml b/jellyfin/templates/statefulset.yaml index 781f562..5115b5a 100644 --- a/jellyfin/templates/statefulset.yaml +++ b/jellyfin/templates/statefulset.yaml @@ -68,6 +68,9 @@ spec: - name: jellyfin-media persistentVolumeClaim: claimName: jellyfin-media-pvc + - name: jellyfin-config + persistentVolumeClaim: + claimName: {{ .Values.config.configPvc }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} @@ -80,12 +83,3 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} - volumeClaimTemplates: - - metadata: - name: jellyfin-config - spec: - accessModes: [ "ReadWriteOnce" ] - storageClassName: {{ .Values.config.storageClassName | quote }} - resources: - requests: - storage: {{ .Values.config.storageSize }} diff --git a/jellyfin/values.yaml b/jellyfin/values.yaml index 4bd5c69..ea87840 100644 --- a/jellyfin/values.yaml +++ b/jellyfin/values.yaml @@ -67,7 +67,6 @@ tolerations: [] affinity: {} config: - storageClassName: nfs-client-icarus - storageSize: 10Gi + configPvc: jellyfin-icarus-config-pvc mediaPvc: jellyfin-media-pvc