mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-08-28 03:27:08 +00:00
feat: Add PostgreSQL support with initialization job and configuration options
This commit is contained in:
@@ -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 * * *"
|
||||
|
||||
Reference in New Issue
Block a user