homelab-k3s/apps/home-assistant/ingress.yaml

38 lines
992 B
YAML
Raw Permalink Normal View History

# NOTE: the live object's defaultBackend pointed at a service named
# "home-assistant", which does not exist (the real service is
# "home-assistant-svc"). Fixed here — this is the one intentional divergence
# from the cluster state captured 2026-07-26.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: home-assistant
namespace: home-assistant
spec:
ingressClassName: traefik
defaultBackend:
service:
name: home-assistant-svc
port:
number: 80
rules:
- host: ha.wittyoneoff.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: home-assistant-svc
port:
number: 80
- host: ha-origin.wittyoneoff.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: home-assistant-svc
port:
number: 80