feat: support multiple GatewayClass per controller#2298
feat: support multiple GatewayClass per controller#2298zirain merged 7 commits intoenvoyproxy:mainfrom
Conversation
|
🚀 Thank you for contributing to the Envoy Gateway project! 🚀 Before merging, please ensure to follow the process below:
NOTE: Once your PR is under review, please do not rebase and force push it. Otherwise, it will force your reviewers to review the PR from scratch rather than simply look at your latest changes. What's more, you can help expedite the processing of your PR by
|
c2382cd to
4c85ccd
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2298 +/- ##
==========================================
- Coverage 63.53% 63.41% -0.12%
==========================================
Files 119 119
Lines 19236 19227 -9
==========================================
- Hits 12221 12193 -28
- Misses 6200 6222 +22
+ Partials 815 812 -3 ☔ View full report in Codecov by Sentry. |
|
/milestone v1.0.0-rc1 |
|
/assign |
4c85ccd to
452f3fa
Compare
2213aa3 to
b04f6b2
Compare
c7c4535 to
bd1588b
Compare
715c055 to
7e15ea4
Compare
|
/retest |
There was a problem hiding this comment.
seeing a bug
- the gateway-api translator works at a single gateway class level
- however in the gateway-api layer, the logic to clean up IRs is global, which will cause other gateways to be deleted
gateway/internal/gatewayapi/runner/runner.go
Line 172 in e168ef9
Possible solution
- filter on relevant keys (try and match GC) when cleaning
- or keep it flat, and pass 1 provider resource to the gateway-api layer with a list of GCs (the gateway-api translator can still work on 1 GC at a time)
7e15ea4 to
bb03ed3
Compare
|
/retest |
a4efdc9 to
b0c19d2
Compare
|
/retest |
internal/gatewayapi/runner/runner.go
Outdated
There was a problem hiding this comment.
this logic looks great, thanks !
internal/gatewayapi/resource.go
Outdated
There was a problem hiding this comment.
non blocking comment that can be tackled in a new PR - would a list *Resources[] be a better option here ?
There was a problem hiding this comment.
could be easier to handle indeed, for merged gateways we can still match it differently
|
minor comments, but this is looking good @cnvergence ! massive feature, that im hoping lands in v1. |
518f567 to
d856ced
Compare
|
@cnvergence looks like e2e is failing |
7cc6562 to
3861645
Compare
|
/retest |
|
fixed those issues |
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
3861645 to
21970e0
Compare
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #1231