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: Add proxy registry key by dest server + name #21791

Merged
merged 3 commits into from
Feb 5, 2025

Conversation

leoluz
Copy link
Collaborator

@leoluz leoluz commented Feb 5, 2025

Regression:
Argo CD Proxy registry was broken for cases when multiple services were configured for one extension.
The proxy extension lookup was working as expected in Argo CD 2.13.1 and broken on 2.13.3.
Adding a new key in the registry containing the destination name + server addresses the problem.
I wasn't able to confirm 100% but I suspect that this bug was introduced by the following PR: #21063

This fix needs to be cherry-picked in 2.13 and 2.14 branches

Signed-off-by: Leonardo Luz Almeida leonardo_almeida@intuit.com

Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
@leoluz leoluz requested a review from a team as a code owner February 5, 2025 15:51
Copy link

bunnyshell bot commented Feb 5, 2025

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
@leoluz leoluz requested a review from a team as a code owner February 5, 2025 16:18
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.

Please upload report for BASE (master@e3bcc48). Learn more about missing BASE report.
Report is 38 commits behind head on master.

Files with missing lines Patch % Lines
server/extension/extension.go 50.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master   #21791   +/-   ##
=========================================
  Coverage          ?   53.79%           
=========================================
  Files             ?      339           
  Lines             ?    56814           
  Branches          ?        0           
=========================================
  Hits              ?    30561           
  Misses            ?    23661           
  Partials          ?     2592           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
@leoluz leoluz merged commit 911a9c6 into argoproj:master Feb 5, 2025
29 checks passed
@leoluz
Copy link
Collaborator Author

leoluz commented Feb 5, 2025

/cherry-pick release-2.13

gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Feb 5, 2025
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
@leoluz
Copy link
Collaborator Author

leoluz commented Feb 5, 2025

/cherry-pick release-2.14

gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Feb 5, 2025
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
leoluz added a commit that referenced this pull request Feb 5, 2025
#21794)

Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Co-authored-by: Leonardo Luz Almeida <leoluz@users.noreply.github.com>
leoluz added a commit that referenced this pull request Feb 5, 2025
#21793)

Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Co-authored-by: Leonardo Luz Almeida <leoluz@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants