[controller] Reduce log level for no-op branch of UpdateFunc
#1661
Labels
triage
Issues/PRs that need to be reviewed
UpdateFunc
#1661
Which component:
controller version 2.17.0
Is your feature request related to a problem? Please describe.
Whenever the
spec
of a sealed secret is updated, the informer will trigger theUpdateFunc
twice: Once for the actual change of thespec
and a second time due to the change of the thestatus
sub resource that is updated by the controller. This leads to confusing log output like this:While the log output makes sense when familiar with the controller, it is rather confusing from a user's perspective.
Describe the solution you'd like
Change the log level to
Debug
for:sealed-secrets/pkg/controller/controller.go
Line 133 in e70e158
The text was updated successfully, but these errors were encountered: