Skip to content

Commit bc22a8e

Browse files
allow egress to namespaced pods
1 parent 8adeedd commit bc22a8e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

apps/memos/networkpolicy.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ spec:
1616
port: "memos"
1717
from: []
1818
egress:
19+
- to:
20+
- podSelector: {}
21+
ports:
22+
- port: 5432
23+
protocol: TCP
24+
- port: 3306
25+
protocol: TCP
1926
- to:
2027
- ipBlock:
2128
cidr: 192.168.0.0/16

0 commit comments

Comments
 (0)