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,25 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: homeassistant
namespace: homeassistant
annotations:
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/router.middlewares: homeassistant-security-headers@kubernetescrd
spec:
tls:
- hosts:
- ${HOMEASSISTANT_HOST}
secretName: homeassistant-tls
rules:
- host: ${HOMEASSISTANT_HOST}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: homeassistant
port:
number: 8123