-
Notifications
You must be signed in to change notification settings - Fork 38
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 log spam from spoke_token_controller #413
Fix log spam from spoke_token_controller #413
Conversation
Thank you for your contribution! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #413 +/- ##
==========================================
- Coverage 56.66% 56.35% -0.31%
==========================================
Files 68 68
Lines 15248 15236 -12
==========================================
- Hits 8640 8586 -54
- Misses 5746 5796 +50
+ Partials 862 854 -8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Manuel Grandeit <m.grandeit@gmail.com>
/lgtm |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: grandeit, mikeshng 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 |
cd7e6ad
into
open-cluster-management-io:main
Fix the log spam of the spoke_token_controller by only logging events that pass the predicate functions.
Removes the following log spam when secrets get updated somewhere in the cluster:
--- SNIP ---
I1030 02:26:00.606725 1 spoke_token_controller.go:432] secret namespace not matched, appAddonNS= open-cluster-management-agent-addon
I1030 02:26:00.864936 1 spoke_token_controller.go:432] secret namespace not matched, appAddonNS= open-cluster-management-agent-addon
I1030 02:26:01.063803 1 spoke_token_controller.go:432] secret namespace not matched, appAddonNS= open-cluster-management-agent-addon
I1030 02:26:01.325161 1 spoke_token_controller.go:432] secret namespace not matched, appAddonNS= open-cluster-management-agent-addon
--- SNAP ---