-
Notifications
You must be signed in to change notification settings - Fork 408
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
feat: improve yurthub configmap management #2275
Conversation
d5faecc
to
78c2933
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2275 +/- ##
==========================================
- Coverage 45.41% 45.36% -0.06%
==========================================
Files 427 427
Lines 29185 29105 -80
==========================================
- Hits 13255 13204 -51
+ Misses 14614 14586 -28
+ Partials 1316 1315 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
78c2933
to
9b8756e
Compare
Signed-off-by: rambohe-ch <[email protected]>
9b8756e
to
1417968
Compare
Quality Gate passedIssues Measures |
/LGTM @rambohe-ch |
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.
LGTM
What type of PR is this?
/kind feature
What this PR does / why we need it:
Add a new manager named configuration manager in yurthub for managing
kube-system/yurt-hub-cfg
configmap, and provide functions for cache manager and filter approver.There is no change of API, it means this pull request is transparent to end users. and this pull request can make the code more readable and maintainable. the efficiency of yurthub is also improved.
The removal of cache should be managed by gc when cache agents configuration is changed. now this feature is not supported.
Which issue(s) this PR fixes:
Fixes #2274
Special notes for your reviewer:
Does this PR introduce a user-facing change?
other Note