22 lines
972 B
YAML
22 lines
972 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" 5 "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 }}
|