Skip to content

Instantly share code, notes, and snippets.

@cerebrate
Last active January 26, 2024 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cerebrate/50cb42f370ccab01c523bd858fb2ef43 to your computer and use it in GitHub Desktop.
Save cerebrate/50cb42f370ccab01c523bd858fb2ef43 to your computer and use it in GitHub Desktop.
Exposing HA to Alexa via Tailscale
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: homeassistant-alexa-ingress
namespace: homeassistant
annotations:
tailscale.com/funnel: "true"
spec:
ingressClassName: tailscale
rules:
- http:
paths:
- path: /api/alexa
pathType: Prefix
backend:
service:
name: homeassistant
port:
number: 8123
- path: /auth/authorize
pathType: Prefix
backend:
service:
name: homeassistant
port:
number: 8123
- path: /auth/token
pathType: Prefix
backend:
service:
name: homeassistant
port:
number: 8123
tls:
- hosts:
- ha-alexa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment