Seed HA's HTTP config store instead of the http YAML block

Since 2026.10 HA imports an http: block only as an unconfirmed trial and
reverts it after 5 minutes, which breaks access through the ingress (400).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-18 14:17:24 +02:00
co-authored by Claude Opus 5.5
parent 9f8ce47986
commit a9b62a514b
4 changed files with 39 additions and 23 deletions
+10 -9
View File
@@ -18,20 +18,21 @@ persistence:
size: 5Gi
storageClassName: ""
# Lets HA accept requests from ingress-nginx (pod network 10.1.0.0/16); without it HA
# answers 400 Bad Request to proxied requests. Since 2026.10 HA keeps the HTTP settings
# in /config/.storage/http (UI-managed); an `http:` block in configuration.yaml is only
# imported as an unconfirmed trial and reverted after 5 minutes. So the chart seeds the
# store directly - on first start only, never overwriting an existing one.
trustedProxies:
- 10.1.0.0/16
- 127.0.0.1/32
# Written to /config/configuration.yaml on first start only (when the file does not
# exist yet). Afterwards the file belongs to you; the chart never overwrites it.
# The http block lets HA accept requests from ingress-nginx (pod network 10.1.0.0/16);
# without it HA answers 400 Bad Request to proxied requests.
seedConfiguration: |
# Loads the default set of integrations. Do not remove.
default_config:
http:
use_x_forwarded_for: true
trusted_proxies:
- 10.1.0.0/16
- 127.0.0.1
frontend:
themes: !include_dir_merge_named themes
@@ -42,7 +43,7 @@ seedConfiguration: |
ingress:
enabled: true
className: nginx
# ingress-nginx is NodePort-only: https://homeassistant.smokyzone.de:30444
# https://homeassistant.smokyzone.de (ingress-nginx hostPort 443; NodePort :30444 also works)
host: homeassistant.smokyzone.de
clusterIssuer: letsencrypt-dns-cloudflare
annotations: