Skip to content

Commit 45de6c2

Browse files
committed
Tighten egress networks
1 parent 4ac520a commit 45de6c2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

charts/simcore-charts/resource-usage-tracker/templates/networkpolicy.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,27 @@ spec:
2323
- action: Allow
2424
protocol: TCP
2525
destination:
26+
nets:
27+
- 10.0.0.0/8
28+
- 192.168.0.0/16
29+
- 172.16.0.0/12
2630
ports:
2731
- {{ .Values.networkPolicyEgressPorts.postgres }}
2832
- action: Allow
2933
protocol: TCP
3034
destination:
35+
nets:
36+
- 10.0.0.0/8
37+
- 192.168.0.0/16
38+
- 172.16.0.0/12
3139
ports:
3240
- {{ .Values.networkPolicyEgressPorts.redis }}
3341
- action: Allow
3442
protocol: TCP
3543
destination:
44+
nets:
45+
- 10.0.0.0/8
46+
- 192.168.0.0/16
47+
- 172.16.0.0/12
3648
ports:
3749
- {{ .Values.networkPolicyEgressPorts.rabbit }}

0 commit comments

Comments
 (0)