Added PVC for config to jellyfin

This commit is contained in:
jenkins-x-bot 2020-09-25 20:23:39 +08:00
parent b35a47aec2
commit 138a883571
3 changed files with 5 additions and 12 deletions

View File

@ -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.

View File

@ -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 }}

View File

@ -67,7 +67,6 @@ tolerations: []
affinity: {}
config:
storageClassName: nfs-client-icarus
storageSize: 10Gi
configPvc: jellyfin-icarus-config-pvc
mediaPvc: jellyfin-media-pvc