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
+21 -3
View File
@@ -48,17 +48,29 @@ resources:
persistence:
config:
enabled: true
type: hostPath
hostPath: /srv/data/home-assistant/config
type: pvc
mountPath: /config
size: 10Gi
accessModes:
- ReadWriteOnce
storageClass: ""
# hostPath: /srv/data/home-assistant/config # only when type: hostPath
media:
enabled: true
hostPath: /srv/data/home-assistant/media
type: pvc
mountPath: /media
size: 5Gi
accessModes:
- ReadWriteOnce
storageClass: ""
# hostPath: /srv/data/home-assistant/media # only when type: hostPath
backups:
enabled: false
type: pvc
size: 10Gi
accessModes:
- ReadWriteOnce
storageClass: ""
haSecrets:
enabled: false
@@ -97,6 +109,12 @@ backup:
storagePath: /storage/backups/postgres
# Node to run backup on (hostname). Overrides global affinity/tolerations.
node: ""
persistence:
enabled: false
size: 10Gi
accessModes:
- ReadWriteOnce
storageClass: ""
postgres:
host: postgres-tcp.postgres.svc.cluster.local
db: homeassistant