pingcap / tiup

A component manager for TiDB
https://tiup.io
Apache License 2.0
417 stars 310 forks source link

cluster: auto session certs #2374

Closed xhebox closed 6 months ago

xhebox commented 8 months ago

What problem does this PR solve?

What is changed and how it works?

Check List

Tests

Code changes

Side effects

Related changes

Release notes:

NONE
ti-chi-bot[bot] commented 8 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign kaaaaaaang for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/pingcap/tiup/blob/master/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
codecov-commenter commented 8 months ago

Codecov Report

Attention: Patch coverage is 63.10680% with 38 lines in your changes are missing coverage. Please review.

Project coverage is 55.67%. Comparing base (79c584f) to head (d382d73). Report is 1 commits behind head on master.

:exclamation: Current head d382d73 differs from pull request most recent head ecff4e7. Consider uploading reports for the commit ecff4e7 to get more accurate results

Files Patch % Lines
pkg/cluster/manager/builder.go 63.24% 17 Missing and 8 partials :warning:
pkg/cluster/spec/tidb.go 56.67% 11 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2374 +/- ## ========================================== - Coverage 55.78% 55.67% -0.11% ========================================== Files 329 329 Lines 35024 35100 +76 ========================================== + Hits 19537 19541 +4 - Misses 13143 13208 +65 - Partials 2344 2351 +7 ``` | [Flag](https://app.codecov.io/gh/pingcap/tiup/pull/2374/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | Coverage Δ | | |---|---|---| | [cluster](https://app.codecov.io/gh/pingcap/tiup/pull/2374/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `45.19% <62.00%> (-0.11%)` | :arrow_down: | | [dm](https://app.codecov.io/gh/pingcap/tiup/pull/2374/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `25.47% <8.00%> (-0.04%)` | :arrow_down: | | [playground](https://app.codecov.io/gh/pingcap/tiup/pull/2374/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `15.30% <8.57%> (-0.03%)` | :arrow_down: | | [tiup](https://app.codecov.io/gh/pingcap/tiup/pull/2374/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `33.60% <ø> (ø)` | | | [unittest](https://app.codecov.io/gh/pingcap/tiup/pull/2374/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `22.19% <0.00%> (-0.05%)` | :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=pingcap#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.