Merge branch 'master-vnext' into feature/add-startup-probe
This commit is contained in:
9 files changed
+476
-9
No files matched your search
@@ -126,6 +126,8 @@ spec:
|
||||
name: config
|
||||
- mountPath: /media
|
||||
name: media
|
||||
- mountPath: /cache
|
||||
name: cache
|
||||
{{- with .Values.volumeMounts }}
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
@@ -159,6 +161,21 @@ spec:
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
- name: cache
|
||||
{{- if .Values.persistence.cache.enabled }}
|
||||
{{- if eq .Values.persistence.cache.type "pvc" }}
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ if .Values.persistence.cache.existingClaim }}{{ .Values.persistence.cache.existingClaim }}{{- else }}{{ template "jellyfin.fullname" . }}-cache{{- end }}
|
||||
{{- else if eq .Values.persistence.cache.type "hostPath" }}
|
||||
hostPath:
|
||||
path: {{ .Values.persistence.cache.hostPath }}
|
||||
type: Directory
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
{{- with .Values.volumes }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
Reference in new issue
Block a user