feat: Add persistent volume claim support for backups and update Helm chart version

This commit is contained in:
sha
2026-03-24 21:53:39 +02:00
parent 6b12ea1dc7
commit c567e1908e
6 changed files with 202 additions and 4 deletions
@@ -40,9 +40,14 @@ spec:
mountPath: /backup
volumes:
- name: backup-storage
{{- if .Values.backup.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ .Values.backup.persistence.existingClaim | default (printf "%s-db-backup" (include "home-assistant.fullname" .)) }}
{{- else }}
hostPath:
path: {{ .Values.backup.storagePath }}
type: DirectoryOrCreate
{{- end }}
restartPolicy: OnFailure
{{- if .Values.backup.node }}
affinity: