chore: add external access for home assistant
This commit is contained in:
parent
729a9fdd48
commit
20caa0588c
5 changed files with 60 additions and 0 deletions
36
apps/external-services/base/homeassistant.yaml
Normal file
36
apps/external-services/base/homeassistant.yaml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: homeassistant
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-issuer-dns01
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- "homeassistant.nc.landry.land"
|
||||
secretName: homeassistant-tls
|
||||
rules:
|
||||
- host: "homeassistant.nc.landry.land"
|
||||
http:
|
||||
paths:
|
||||
- path: "/"
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: homeassistant
|
||||
port:
|
||||
name: http
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: homeassistant
|
||||
spec:
|
||||
type: ExternalName
|
||||
externalName: "homeassistant.int.nc.landry.land"
|
||||
ports:
|
||||
- port: 8123
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
Loading…
Add table
Add a link
Reference in a new issue