Skip to content
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

client: clean up the tls config for client #8347

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Jul 1, 2024

What problem does this PR solve?

Issue Number: Ref #4399

What is changed and how does it work?

There are some useless configs which are exposed to the user.

Check List

Tests

  • Unit test

Release note

None.

@ti-chi-bot ti-chi-bot bot added do-not-merge/needs-linked-issue release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has signed the dco. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed do-not-merge/needs-linked-issue labels Jul 1, 2024
@ti-chi-bot ti-chi-bot added the needs-cherry-pick-release-7.1 Should cherry pick this PR to release-7.1 branch. label Jul 1, 2024
@rleungx rleungx removed the needs-cherry-pick-release-7.1 Should cherry pick this PR to release-7.1 branch. label Jul 1, 2024
@ti-chi-bot ti-chi-bot added the needs-cherry-pick-release-7.1 Should cherry pick this PR to release-7.1 branch. label Jul 1, 2024
@@ -47,21 +47,12 @@ import (
type TLSInfo struct {
CertFile string
KeyFile string
CAFile string // TODO: deprecate this in v4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it work if there is no CAfile? like pdctl no specified the --cacert.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rleungx rleungx removed the needs-cherry-pick-release-7.1 Should cherry pick this PR to release-7.1 branch. label Jul 1, 2024
Copy link
Contributor

ti-chi-bot bot commented Jul 2, 2024

@okJiang: adding LGTM is restricted to approvers and reviewers in OWNERS files.

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Jul 2, 2024
@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Jul 3, 2024
Copy link
Contributor

ti-chi-bot bot commented Jul 3, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-07-02 06:22:52.773041427 +0000 UTC m=+1305499.258530261: ☑️ agreed by nolouch.
  • 2024-07-03 02:55:45.661091387 +0000 UTC m=+1379472.146580219: ☑️ agreed by HuSharp.

@rleungx
Copy link
Member Author

rleungx commented Jul 3, 2024

/merge

Copy link
Contributor

ti-chi-bot bot commented Jul 3, 2024

@rleungx: We have migrated to builtin LGTM and approve plugins for reviewing.

👉 Please use /approve when you want approve this pull request.

The changes announcement: Proposal: Strengthen configuration change approval.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

Copy link
Contributor

ti-chi-bot bot commented Jul 3, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: HuSharp, niubell, nolouch, okJiang

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Jul 3, 2024
Copy link

codecov bot commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.23%. Comparing base (a7f2632) to head (0d3ff4b).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8347      +/-   ##
==========================================
+ Coverage   77.16%   77.23%   +0.06%     
==========================================
  Files         470      470              
  Lines       61654    61652       -2     
==========================================
+ Hits        47578    47616      +38     
+ Misses      10490    10457      -33     
+ Partials     3586     3579       -7     
Flag Coverage Δ
unittests 77.23% <ø> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@ti-chi-bot ti-chi-bot bot merged commit 166fd33 into tikv:master Jul 3, 2024
24 of 25 checks passed
@rleungx rleungx deleted the clean-config branch July 3, 2024 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved dco-signoff: yes Indicates the PR's author has signed the dco. lgtm release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants