feat(k8s/external): add Home Assistant external routing via Traefik

This commit is contained in:
2026-02-22 23:16:29 +02:00
parent 931d95224d
commit ca9a4c3566
8 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: security-headers
namespace: homeassistant
spec:
headers:
sslRedirect: true
stsIncludeSubdomains: true
stsPreload: true
stsSeconds: 315360000
browserXssFilter: true
contentTypeNosniff: true
forceSTSHeader: true
frameDeny: true
customFrameOptionsValue: SAMEORIGIN
hostsProxyHeaders:
- "X-Forwarded-Host"