-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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(appset): Fix name conflict in appset controller (#16207) #16222
fix(appset): Fix name conflict in appset controller (#16207) #16222
Conversation
Signed-off-by: gmuselli <geoffrey.muselli@gmail.com>
Signed-off-by: gmuselli <geoffrey.muselli@gmail.com>
…edfl/argo-cd into bugfix/16207-appset-in-any-namespace
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #16222 +/- ##
=======================================
Coverage 49.51% 49.51%
=======================================
Files 269 269
Lines 46972 46972
=======================================
+ Hits 23257 23260 +3
+ Misses 21433 21431 -2
+ Partials 2282 2281 -1
☔ View full report in Codecov by Sentry. |
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.
Overall change looks good!! Few minor comments.
|
||
if msg == "" { | ||
msg = err.Error() | ||
for _, namespace := range []string{string(ApplicationsResourcesNamespace), string(ArgoCDExternalNamespace), string(ArgoCDExternalNamespace2)} { |
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.
Can we use fixtureClient.ExternalAppSetClientsets
instead of creating a new list to loop over?
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.
Approving the change to get into 2.9.0 GA
Signed-off-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com>
Wow so fast! Thanks a lot @ishitasequeira and @crenshaw-dev 🙂 |
…rgoproj#16222) * fix(16207): Fix name conflict in appset controller Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * fix(16207): e2e Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * Update test/e2e/fixture/applicationsets/utils/fixture.go Signed-off-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com> --------- Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> Signed-off-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com> Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com> Signed-off-by: jmilic1 <70441727+jmilic1@users.noreply.github.com>
…rgoproj#16222) * fix(16207): Fix name conflict in appset controller Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * fix(16207): e2e Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * Update test/e2e/fixture/applicationsets/utils/fixture.go Signed-off-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com> --------- Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> Signed-off-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com> Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com>
…rgoproj#16222) * fix(16207): Fix name conflict in appset controller Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * fix(16207): e2e Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * Update test/e2e/fixture/applicationsets/utils/fixture.go Signed-off-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com> --------- Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> Signed-off-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com> Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com>
…rgoproj#16222) * fix(16207): Fix name conflict in appset controller Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * fix(16207): e2e Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * Update test/e2e/fixture/applicationsets/utils/fixture.go Signed-off-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com> --------- Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> Signed-off-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com> Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com> Signed-off-by: Kevin Lyda <kevin@lyda.ie>
…rgoproj#16222) * fix(16207): Fix name conflict in appset controller Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * fix(16207): e2e Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * Update test/e2e/fixture/applicationsets/utils/fixture.go Signed-off-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com> --------- Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> Signed-off-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com> Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com>
Fixes #16207
Fixes #16114
Checklist: