Skip to content

Commit

Permalink
fix(home-assistant): netpols allow Apple TV VLAN
Browse files Browse the repository at this point in the history
  • Loading branch information
JJGadgets committed Jun 23, 2024
1 parent 5b3d998 commit b739623
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions kube/deploy/apps/home-assistant/app/hr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spec:
labels:
ingress.home.arpa/nginx-internal: "allow"
egress.home.arpa/iot: "allow"
egress.home.arpa/appletv: "allow"
annotations:
k8s.v1.cni.cncf.io/networks: |
[{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,19 @@ spec:
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/cilium.io/ciliumclusterwidenetworkpolicy_v2.json
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: labelled-allow-egress-appletv
spec:
endpointSelector:
matchLabels:
egress.home.arpa/appletv: "allow"
egress:
- toCIDRSet:
- cidr: "${IP_VLAN_APPLETV_CIDR}"
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/cilium.io/ciliumclusterwidenetworkpolicy_v2.json
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: labelled-allow-egress-user1
spec:
Expand Down

0 comments on commit b739623

Please sign in to comment.