feat: Add PostgreSQL support with initialization job and configuration options

This commit is contained in:
sha
2026-03-18 14:17:39 +02:00
parent f66593fa77
commit c632968e49
4 changed files with 148 additions and 1 deletions
+24
View File
@@ -60,6 +60,30 @@ persistence:
hostPath: /srv/data/home-assistant/media
mountPath: /media
postgres:
enabled: false
host: postgres-tcp.postgres.svc.cluster.local
port: 5432
db: homeassistant
user: ha
adminUser: postgres
existingSecret: ""
passwordKey: HA_POSTGRESQL_PASSWORD
adminSecret: ""
adminSecretKey: POSTGRES_ADMIN_PASSWORD
adminUserKey: ""
dbInit:
enabled: false
image: postgres:16-alpine
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 100m
memory: 128Mi
backup:
enabled: false
schedule: "0 2 * * *"