Commit 7b9a6c0
feat: implement Gateway API allowedRoutes namespace and kind validation (#845)
* feat: implement Gateway API allowedRoutes namespace and kind validation
* fix tests
* fix unit tests
* add assertions to wait for gateway to be updated before each test
* use diff namespace for label selector test
* Add namespace RBAC permissions for Gateway listener namespace selectors
---------
Co-authored-by: VikramBedi <vbedi@amazon.com>
Co-authored-by: Ryan Lymburner <137918933+rlymbur@users.noreply.github.com>1 parent 64e7968 commit 7b9a6c0
File tree
11 files changed
+3444
-459
lines changed- config/rbac
- helm/templates
- pkg
- controllers
- gateway
- model/core
- test/suites/integration
11 files changed
+3444
-459
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
105 | 113 | | |
106 | 114 | | |
107 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
120 | 128 | | |
121 | 129 | | |
122 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
485 | 493 | | |
486 | 494 | | |
487 | 495 | | |
| |||
509 | 517 | | |
510 | 518 | | |
511 | 519 | | |
| 520 | + | |
| 521 | + | |
512 | 522 | | |
513 | | - | |
514 | 523 | | |
515 | 524 | | |
516 | 525 | | |
| |||
525 | 534 | | |
526 | 535 | | |
527 | 536 | | |
| 537 | + | |
| 538 | + | |
528 | 539 | | |
529 | 540 | | |
530 | 541 | | |
| |||
533 | 544 | | |
534 | 545 | | |
535 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
536 | 557 | | |
537 | 558 | | |
538 | 559 | | |
| |||
545 | 566 | | |
546 | 567 | | |
547 | 568 | | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
548 | 572 | | |
549 | 573 | | |
550 | 574 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
| |||
103 | 108 | | |
104 | 109 | | |
105 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
106 | 116 | | |
107 | 117 | | |
108 | 118 | | |
| |||
141 | 151 | | |
142 | 152 | | |
143 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
144 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
145 | 163 | | |
146 | 164 | | |
147 | 165 | | |
| |||
153 | 171 | | |
154 | 172 | | |
155 | 173 | | |
156 | | - | |
| 174 | + | |
157 | 175 | | |
158 | 176 | | |
159 | 177 | | |
160 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
161 | 184 | | |
162 | 185 | | |
163 | 186 | | |
| |||
0 commit comments