-
Notifications
You must be signed in to change notification settings - Fork 867
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
fix(trafficrouting): Fix setHeaderRoute behavior to affect only related ingress rules #3727
base: master
Are you sure you want to change the base?
Conversation
dec22ae
to
7bb4a1c
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3727 +/- ##
==========================================
+ Coverage 83.88% 83.89% +0.01%
==========================================
Files 163 163
Lines 18560 18563 +3
==========================================
+ Hits 15569 15574 +5
+ Misses 2119 2118 -1
+ Partials 872 871 -1 ☔ View full report in Codecov by Sentry. |
7bb4a1c
to
c744bf9
Compare
Published E2E Test Results 4 files 4 suites 3h 13m 53s ⏱️ For more details on these failures, see this check. Results for commit 41cfaeb. ♻️ This comment has been updated with latest results. |
Published Unit Test Results2 276 tests 2 276 ✅ 2m 59s ⏱️ Results for commit 41cfaeb. ♻️ This comment has been updated with latest results. |
c744bf9
to
8ccfbdb
Compare
…ss rules related to rollout Signed-off-by: Armen Shakhbazian <[email protected]>
8ccfbdb
to
41cfaeb
Compare
Quality Gate passedIssues Measures |
With this PR does this mean that with set heady it will not send 100% of traffic with the configured header to the canary? |
Sorry for delayed response. I'm not sure I understand the case correctly. The The problem this fix addresses is that Ingress might contain additional rules (like redirects in example) and they are also affected (the generated With this fix, the generated |
This PR fixes
ALB::SetHeaderRoute
so it only affects Ingress rules that containstableService
as backend.For example, if we have some ingress:
And rollout with the following step:
Then, without this fix, the new
route-test-requests
path will be added to every rule in Ingress. Documentation leaves impression that only rules related to rollout services will be affected.I'm not sure this fix is consistent with desired argo-rollouts behavior, sou would be happy to receive feedback and adjust the code.
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.