add(hass): backup

This commit is contained in:
nold 2022-12-14 10:16:32 +01:00
parent 4395a91bc3
commit 9076e1ea03

View file

@ -40,3 +40,14 @@ spec:
password:
name: hass-postgres
key: postgresql-password
---
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: homeassistant-db-backup
namespace: homeassistant
spec:
schedule: "0 0 0 * * *"
backupOwnerReference: self
cluster:
name: homeassistant-db