fix(vm-ad): netpols

This commit is contained in:
JJGadgets
2023-12-31 19:14:34 +08:00
parent f099ee51ea
commit 5f69466fa2

View File

@@ -12,7 +12,11 @@ spec:
- fromEndpoints:
- matchLabels:
io.kubernetes.pod.namespace: *app
fromCIDRSet:
toPorts:
- ports:
- port: "45678"
protocol: UDP
- fromCIDRSet:
- cidr: "${IP_ROUTER_LAN}/32"
toPorts:
- ports: