-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
e2e: add test for jwt claim base routing #2712
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2712 +/- ##
==========================================
+ Coverage 63.34% 63.42% +0.08%
==========================================
Files 123 123
Lines 19979 19979
==========================================
+ Hits 12655 12671 +16
+ Misses 6513 6500 -13
+ Partials 811 808 -3 ☔ View full report in Codecov by Sentry. |
test/e2e/testdata/jwt.yaml
Outdated
# catch all | ||
- backendRefs: | ||
- kind: Service | ||
name: infra-backend-v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets make this non existent (infra-backend-invalid
) since that is what users will most likely do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL, I used to think it will be ignored if name is not found.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
status will be set to ResolvedRef=False and requests will get 500
we ideally need something like #2714 but it doesnt exist today :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's added to istio recently.
02108f2
to
0304449
Compare
Signed-off-by: zirain <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks for adding this !
cc @zetaab
/retest |
Fixes: #2690