Commit 5b68506
authored
fix(helm): make DNS egress rule platform-agnostic (#80)
The DNS egress rule targeted kube-dns pods in kube-system via
namespaceSelector+podSelector. On OpenShift, DNS pods live in
openshift-dns, so the rule never matched and OVN-Kubernetes blocked
all DNS queries from the OneCLI pod.
Remove the namespace/label restriction and allow port 53 to any
destination. DNS is not an SSRF vector, and restricting it by platform-
specific labels is fragile. Also remove redundant DNS ports from the
serviceCIDR ipBlock rule.
Signed-off-by: Tomas Pilar <thomas7pilar@gmail.com>1 parent 5b32090 commit 5b68506
1 file changed
Lines changed: 5 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
49 | 40 | | |
50 | 41 | | |
51 | 42 | | |
| |||
92 | 83 | | |
93 | 84 | | |
94 | 85 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 86 | | |
100 | 87 | | |
101 | 88 | | |
| |||
0 commit comments