Files
homeassistant-gitops/templates/configmap.yaml
T
SmokyZoneandClaude Opus 5.5 a9b62a514b 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]>
2026-10-18 14:17:24 +02:00

22 lines
973 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: homeassistant-seed
labels:
{{- include "ha.labels" . | nindent 4 }}
data:
configuration.yaml: |
{{- .Values.seedConfiguration | nindent 4 }}
# Format of HA's HTTP config store (homeassistant/components/http/config.py).
http.json: |
{{- dict "version" 2 "minor_version" 2 "key" "http" "data" (dict
"stable" (dict "server_port" (int .Values.port) "use_x_forwarded_for" true
"trusted_proxies" .Values.trustedProxies
"cors_allowed_origins" (list "https://cast.home-assistant.io")
"login_attempts_threshold" -1 "ip_ban_enabled" true
"ssl_profile" "modern" "use_x_frame_options" true
"created_at" "2026-10-18T00:00:00+00:00"
"error" nil "error_message" nil)
"pending" nil
"yaml_migration_done" true) | toPrettyJson | nindent 4 }}