feat: Implement RoutingType BTP#8173
Conversation
❌ Deploy Preview for cerulean-figolla-1f9435 failed.
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8173 +/- ##
==========================================
+ Coverage 73.85% 73.95% +0.10%
==========================================
Files 242 242
Lines 37061 37158 +97
==========================================
+ Hits 27372 27482 +110
+ Misses 7761 7745 -16
- Partials 1928 1931 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/retest |
|
/retest |
1 similar comment
|
/retest |
|
/retest |
|
/retest |
Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>
| } | ||
| } | ||
|
|
||
| // Check targetSelectors (label-based targeting) |
There was a problem hiding this comment.
I'm not familiar with targetSelectors, but can they target specific route rules or specific listeners in a gateway?
There was a problem hiding this comment.
No they can't target specific rules, it's just a label selector for Kubernetes resources + group/kind matching.
Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
f177014 to
f991418
Compare
|
/retest |
Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>
3209584 to
288fa76
Compare
|
/retest |
1 similar comment
|
/retest |
Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>
|
it would be better to see some e2e tests happen in the future. |
|
Do you have something in mind for an e2e? Traffic still ends up hitting the same backends so I wasn't sure how to improve validation besides adding exhaustive testdata renders. |
|
LGTM, thanks! |
|
/retest |
2 similar comments
|
/retest |
|
/retest |
* Implement RoutingType BTP Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> * notes Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com> * Support all BTP targeting scenarios Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com> * gen-check Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> * Tweak EP routingtype check Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com> * gen-check Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> * Improve lookup perf Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> * fix Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> * Adjust logic Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> * format Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> --------- Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
What this PR does / why we need it:
Adds implementation for BTP-level RoutingType field
Which issue(s) this PR fixes:
Fixes #7926
Release Notes: Yes