Commit 5566538
committed
feat(netpol): ODCN router-pod selector ipv namespace-naam
Per ODCN docs (docs/knowledge/odcn-ingress-controller.md): de aanbevolen
NetworkPolicy match is pod-selector op
ingresscontroller.operator.openshift.io/deployment-ingresscontroller naast
namespaceSelector. Daarmee alleen de 'rig' router-pods, niet eventuele
andere customer-routers in dezelfde namespace.
cluster_config heeft nu ingress_controller_selector (dict met namespace +
pod_labels). Sandbox/local laten pod_labels leeg (nginx geen OpenShift-
specifieke labels).
Plus: test_internet_egress_is_permissive — geen 169.254 exception meer
(eerder verwijderd want IP is op ODCN niet bereikbaar).1 parent c3e8aef commit 5566538
3 files changed
Lines changed: 46 additions & 22 deletions
File tree
- operations-manager/python
- manifests
- opi/core
- tests
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
45 | 54 | | |
46 | 55 | | |
47 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
72 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
| |||
112 | 118 | | |
113 | 119 | | |
114 | 120 | | |
115 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
116 | 127 | | |
117 | 128 | | |
118 | 129 | | |
| |||
543 | 554 | | |
544 | 555 | | |
545 | 556 | | |
546 | | - | |
| 557 | + | |
547 | 558 | | |
548 | | - | |
| 559 | + | |
549 | 560 | | |
550 | | - | |
551 | | - | |
552 | | - | |
| 561 | + | |
553 | 562 | | |
554 | | - | |
555 | | - | |
| 563 | + | |
556 | 564 | | |
557 | | - | |
558 | | - | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
559 | 569 | | |
560 | 570 | | |
561 | | - | |
| 571 | + | |
562 | 572 | | |
563 | 573 | | |
564 | 574 | | |
| |||
Lines changed: 13 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
162 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
163 | 171 | | |
164 | 172 | | |
165 | 173 | | |
| |||
176 | 184 | | |
177 | 185 | | |
178 | 186 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
183 | 190 | | |
184 | 191 | | |
185 | 192 | | |
| |||
189 | 196 | | |
190 | 197 | | |
191 | 198 | | |
192 | | - | |
193 | | - | |
194 | 199 | | |
195 | 200 | | |
196 | 201 | | |
| |||
0 commit comments