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: applicationset controller should respect logging flags (#10399) #10513
fix: applicationset controller should respect logging flags (#10399) #10513
Conversation
846b481
to
75acdcc
Compare
Codecov ReportBase: 45.75% // Head: 45.75% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #10513 +/- ##
==========================================
- Coverage 45.75% 45.75% -0.01%
==========================================
Files 236 236
Lines 28527 28526 -1
==========================================
- Hits 13053 13052 -1
Misses 13669 13669
Partials 1805 1805
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
75acdcc
to
38fab0f
Compare
@toVersus thanks for this! Can you resolve conflicts! |
38fab0f
to
84bcd13
Compare
Thanks for letting me know, resolved! PTAL |
* Align logging setup with other controllers Signed-off-by: toVersus <toversus2357@gmail.com>
84bcd13
to
2d292cd
Compare
it is gonna be possible to specify |
@crenshaw-dev |
@vgrigoruk I think that would be a good follow-up PR! |
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.
Thanks @toVersus!
I'm going to only cherry-pick this to 2.5 to avoid changing behavior on a patch release. If folks really need this fix in 2.4 or prior, I'll check with #argo-contributors on Slack to see how folks feel about cherry-picking further back.
* Align logging setup with other controllers Signed-off-by: toVersus <toversus2357@gmail.com> Signed-off-by: toVersus <toversus2357@gmail.com>
Cherry-picked onto release-2.5 for 2.5.0-rc2. |
Signed-off-by: Tsubasa Nagasawa toversus2357@gmail.com
Fixes: #10399
This PR fixes applicationset controller to respect the log level and format passed as flags by reusing logging utils adopted in other Argo CD components.
I confirmed that the log format flag (
--logformat json
) got to work as expected after this change:Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist: