Skip to content
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: istio dropping fields during removing of managed routes #2692

Merged

Conversation

zachaller
Copy link
Collaborator

@zachaller zachaller commented Apr 3, 2023

This fixes istio support so that when managed route is called to cleanup, setMirror and setHeader routes it keeps extra fields on non managed routes.

@sonarcloud
Copy link

sonarcloud bot commented Apr 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
10.0% 10.0% Duplication

@codecov
Copy link

codecov bot commented Apr 3, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (04b1e30) 81.62% compared to head (f4fadbc) 81.63%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2692   +/-   ##
=======================================
  Coverage   81.62%   81.63%           
=======================================
  Files         133      133           
  Lines       20157    20163    +6     
=======================================
+ Hits        16454    16460    +6     
  Misses       2849     2849           
  Partials      854      854           
Impacted Files Coverage Δ
rollout/trafficrouting/istio/istio.go 75.80% <100.00%> (+0.12%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 3, 2023

E2E Tests Published Test Results

    4 files      4 suites   3h 28m 1s ⏱️
  96 tests   80 ✔️   5 💤 11
396 runs  364 ✔️ 20 💤 12

For more details on these failures, see this check.

Results for commit f4fadbc.

♻️ This comment has been updated with latest results.

Signed-off-by: zachaller <[email protected]>
@zachaller zachaller marked this pull request as ready for review April 6, 2023 15:59
@zachaller zachaller requested a review from leoluz April 6, 2023 15:59
@jsegerli
Copy link

Hey! I'm keenly waiting for this feature, and just wanted to check in on the status?

Copy link
Contributor

@leoluz leoluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check my comments

rollout/trafficrouting/istio/istio.go Outdated Show resolved Hide resolved
rollout/trafficrouting/istio/istio.go Outdated Show resolved Hide resolved
@github-actions
Copy link
Contributor

github-actions bot commented May 4, 2023

Go Published Test Results

1 949 tests   1 949 ✔️  2m 36s ⏱️
   118 suites         0 💤
       1 files           0

Results for commit f4fadbc.

♻️ This comment has been updated with latest results.

@sonarcloud
Copy link

sonarcloud bot commented May 4, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 3 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
2.2% 2.2% Duplication

@zachaller zachaller requested a review from leoluz May 5, 2023 13:38
Copy link
Contributor

@leoluz leoluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zachaller zachaller merged commit c8c947b into argoproj:master May 5, 2023
zachaller added a commit that referenced this pull request May 5, 2023
* fix for dropping fields during removing routes

Signed-off-by: zachaller <[email protected]>

* add comment and rename

Signed-off-by: zachaller <[email protected]>

* add a light weight cast check

Signed-off-by: zachaller <[email protected]>

* improve logic by adding type casting check

Signed-off-by: zachaller <[email protected]>

* add docs

Signed-off-by: zachaller <[email protected]>

---------

Signed-off-by: zachaller <[email protected]>
zachaller added a commit that referenced this pull request May 5, 2023
* fix for dropping fields during removing routes

Signed-off-by: zachaller <[email protected]>

* add comment and rename

Signed-off-by: zachaller <[email protected]>

* add a light weight cast check

Signed-off-by: zachaller <[email protected]>

* improve logic by adding type casting check

Signed-off-by: zachaller <[email protected]>

* add docs

Signed-off-by: zachaller <[email protected]>

---------

Signed-off-by: zachaller <[email protected]>
zachaller added a commit that referenced this pull request May 5, 2023
* fix for dropping fields during removing routes

Signed-off-by: zachaller <[email protected]>

* add comment and rename

Signed-off-by: zachaller <[email protected]>

* add a light weight cast check

Signed-off-by: zachaller <[email protected]>

* improve logic by adding type casting check

Signed-off-by: zachaller <[email protected]>

* add docs

Signed-off-by: zachaller <[email protected]>

---------

Signed-off-by: zachaller <[email protected]>
@zachaller zachaller added the cherry-pick-completed Used once we have cherry picked the PR to all requested releases label May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants