Add helm-unittest tests for dedicated cache volume persistence: - Default emptyDir behavior - PVC creation when enabled - hostPath configuration - Volume mount verification - PVC size, access mode, storage class configuration - Annotations support - Existing claim usage - Type-specific behavior (pvc vs hostPath vs emptyDir) Add NOTES.txt with persistence information: - Show config, media, and cache volume types - Display cache volume details when enabled - Benefits explanation for cache volume - Warning for hostPath usage Tests ensure cache persistence works correctly for all scenarios. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>
48 lines
2.2 KiB
Plaintext
48 lines
2.2 KiB
Plaintext
Thank you for installing {{ .Chart.Name }}.
|
|
|
|
Your release is named {{ .Release.Name }}.
|
|
|
|
To learn more about the release, try:
|
|
|
|
$ helm status {{ .Release.Name }}
|
|
$ helm get all {{ .Release.Name }}
|
|
|
|
{{- if .Values.ingress.enabled }}
|
|
|
|
Jellyfin is available via Ingress at:
|
|
{{- range .Values.ingress.hosts }}
|
|
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ .host }}{{ (index .paths 0).path }}
|
|
{{- end }}
|
|
{{- else }}
|
|
|
|
To access Jellyfin, you can use port-forwarding:
|
|
|
|
$ kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ include "jellyfin.fullname" . }} {{ .Values.service.port }}:{{ .Values.service.port }}
|
|
|
|
Then visit http://localhost:{{ .Values.service.port }} in your browser.
|
|
{{- end }}
|
|
|
|
Persistence Configuration:
|
|
Config: {{ if .Values.persistence.config.enabled }}{{ .Values.persistence.config.type | default "pvc" }}{{ if .Values.persistence.config.existingClaim }} (existing: {{ .Values.persistence.config.existingClaim }}){{ end }}{{ else }}emptyDir{{ end }}
|
|
Media: {{ if .Values.persistence.media.enabled }}{{ .Values.persistence.media.type | default "pvc" }}{{ if .Values.persistence.media.existingClaim }} (existing: {{ .Values.persistence.media.existingClaim }}){{ end }}{{ else }}emptyDir{{ end }}
|
|
Cache: {{ if .Values.persistence.cache.enabled }}{{ .Values.persistence.cache.type | default "pvc" }}{{ if .Values.persistence.cache.existingClaim }} (existing: {{ .Values.persistence.cache.existingClaim }}){{ end }}{{ else }}emptyDir{{ end }}
|
|
|
|
{{- if and .Values.persistence.cache.enabled (eq .Values.persistence.cache.type "pvc") }}
|
|
Cache Volume:
|
|
Dedicated cache volume is enabled for improved performance.
|
|
Size: {{ .Values.persistence.cache.size }}
|
|
Access Mode: {{ .Values.persistence.cache.accessMode }}
|
|
{{- if .Values.persistence.cache.storageClass }}
|
|
Storage Class: {{ .Values.persistence.cache.storageClass }}
|
|
{{- end }}
|
|
|
|
Benefits:
|
|
- Faster transcoding and metadata operations
|
|
- Separate cache lifecycle from config/media
|
|
- Can use faster storage class (SSD) for cache
|
|
{{- end }}
|
|
|
|
{{- if and .Values.persistence.cache.enabled (eq .Values.persistence.cache.type "hostPath") }}
|
|
⚠ WARNING: Using hostPath for cache - ensure {{ .Values.persistence.cache.hostPath }} exists on the node
|
|
{{- end }}
|