Skip to content

Commit

Permalink
fix(home-assistant): HomeKit LB svc & netpols
Browse files Browse the repository at this point in the history
  • Loading branch information
JJGadgets committed Feb 1, 2025
1 parent d3621c3 commit 25eeead
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
20 changes: 20 additions & 0 deletions kube/deploy/apps/home-assistant/app/hr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,22 @@ spec:
port: 21062
protocol: TCP
primary: false
homekit-sensors:
port: 21063
protocol: TCP
primary: false
homekit-4:
port: 21064
protocol: TCP
primary: false
homekit-5:
port: 21065
protocol: TCP
primary: false
homekit-6:
port: 21066
protocol: TCP
primary: false
ingress:
main:
className: "nginx-internal"
Expand Down Expand Up @@ -205,10 +221,14 @@ spec:
tmp:
type: emptyDir
medium: Memory
sizeLimit: 16Mi
globalMounts:
- subPath: "tmp"
path: "/tmp"
readOnly: false
- subPath: logs
path: /config/logs
readOnly: false
litestream:
type: secret
name: "litestream-secrets"
Expand Down
8 changes: 8 additions & 0 deletions kube/deploy/apps/home-assistant/app/netpol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ spec:
protocol: TCP
- port: "21062"
protocol: TCP
- port: "21063"
protocol: TCP
- port: "21064"
protocol: TCP
- port: "21065"
protocol: TCP
- port: "21066"
protocol: TCP
ingressDeny: # only ingress can hit HTTP port
- fromEntities: [world]
toPorts:
Expand Down

0 comments on commit 25eeead

Please sign in to comment.