open-cluster-management-io / cluster-proxy

An OCM addon that automates the installation of Kubernetes' konnectivity servers and agents.
Apache License 2.0
45 stars 22 forks source link

Refactor: reconciler and eventhandler. #153

Closed xuezhaojun closed 1 year ago

xuezhaojun commented 1 year ago

This PR includes the following changes:

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 7.14% and project coverage change: -0.81 :warning:

Comparison is base (8dd5b36) 24.12% compared to head (cbc44be) 23.31%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #153 +/- ## ========================================== - Coverage 24.12% 23.31% -0.81% ========================================== Files 9 9 Lines 1202 1175 -27 ========================================== - Hits 290 274 -16 + Misses 896 885 -11 Partials 16 16 ``` | Flag | Coverage Δ | | |---|---|---| | unit | `23.31% <7.14%> (-0.81%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-cluster-management-io#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/open-cluster-management-io/cluster-proxy/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-cluster-management-io) | Coverage Δ | | |---|---|---| | [pkg/config/agent.go](https://codecov.io/gh/open-cluster-management-io/cluster-proxy/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-cluster-management-io#diff-cGtnL2NvbmZpZy9hZ2VudC5nbw==) | `71.42% <ø> (-28.58%)` | :arrow_down: | | [...ontrollers/managedproxyconfiguration\_controller.go](https://codecov.io/gh/open-cluster-management-io/cluster-proxy/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-cluster-management-io#diff-cGtnL3Byb3h5c2VydmVyL2NvbnRyb2xsZXJzL21hbmFnZWRwcm94eWNvbmZpZ3VyYXRpb25fY29udHJvbGxlci5nbw==) | `8.56% <7.14%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-cluster-management-io). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-cluster-management-io)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

xuezhaojun commented 1 year ago

/assign @qiujian16
/assign @yue9944882

qiujian16 commented 1 year ago

/approve /lgtm

openshift-ci[bot] commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiujian16, xuezhaojun

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: - ~~[OWNERS](https://github.com/open-cluster-management-io/cluster-proxy/blob/main/OWNERS)~~ [qiujian16,xuezhaojun] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment