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
[BUGFIX] defaulting partial ControllerConfiguration logging options #6276
[BUGFIX] defaulting partial ControllerConfiguration logging options #6276
Conversation
ca12c0c
to
240d3fc
Compare
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.
I think I spotted a typo. Otherwise looks good to me.
It looks like you found an existing logging API struct which is now embedded into our configuration.
Have I understood correctly?
Is that same struct also embedded in the webhook configuration?
Not yet, I want to do that in this PR: #6243 |
…ere config would not be correctly defaulted in case a partial logging configuration is provided. Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
ff053e4
to
e8b5b2e
Compare
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 Tim.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: inteon, wallrj The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The current defaulting logic for the ControllerConfiguration logging options fails in case a partial logging configuration is provided.
(it only defaults the logging options in case no logging options are provided, and does not default any of the logging option fields in case a partial configuration is provided)
Introduced in #5337, this has not been released yet.
This is how you can test the logging options:
Kind
/kind bug
Release Note