Merge branch 'master-vnext' into feature/add-cache-persistence
This commit is contained in:
commit
28fb92138f
6 files changed
+182
No files matched your search
@@ -45,3 +45,14 @@ Cache Volume:
|
||||
{{- 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 }}
|
||||
Deployment Configuration:
|
||||
Revision History Limit: {{ .Values.revisionHistoryLimit }}
|
||||
{{- $limit := int .Values.revisionHistoryLimit }}
|
||||
{{- if eq $limit 0 }}
|
||||
⚠ WARNING: Revision history is disabled - rollback will not be possible!
|
||||
{{- else if eq $limit 1 }}
|
||||
⚠ NOTE: Only 1 revision kept - limited rollback capability
|
||||
{{- else }}
|
||||
You can rollback to any of the last {{ .Values.revisionHistoryLimit }} revisions using:
|
||||
kubectl rollout undo deployment/{{ include "jellyfin.fullname" . }} --namespace {{ .Release.Namespace }}
|
||||
{{- end }}
|
||||
@@ -14,6 +14,9 @@ spec:
|
||||
{{- toYaml . | trim | nindent 4 }}
|
||||
{{- end }}
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
{{- with .Values.revisionHistoryLimit }}
|
||||
revisionHistoryLimit: {{ . }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "jellyfin.selectorLabels" . | nindent 6 }}
|
||||
|
||||
Reference in new issue
Block a user