network policy now fully generated

This commit is contained in:
2025-01-02 18:16:24 +01:00
parent 207043d38f
commit 6d05f0501f
5 changed files with 55 additions and 34 deletions
+8 -3
View File
@@ -8,6 +8,8 @@ networks:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
ports:
- port: 2303
namespaces:
@@ -20,8 +22,9 @@ namespaces:
# ports when specified at the application level are used when
# not explicitly mentioned when a link is made
ports:
- 8081
- 8082
- port: 8081
- port: 8082
protocol: UDP
matchLabels:
app: nexus-server
@@ -31,7 +34,9 @@ namespaces:
matchLabels:
app: wamblee-org
ports:
- 1000
- port: 1000
- port: 1001
protocol: UDP
communications:
- from: # can we support both string and list of strings?