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

backup: TLS Support for Backup&Restore with dumpling&lightning #3100

Merged
merged 3 commits into from
Aug 13, 2020

Conversation

lichunzhu
Copy link
Contributor

@lichunzhu lichunzhu commented Aug 12, 2020

What problem does this PR solve?

resolve #3094
dumpling and lightning have already supported tls but tidb-operator don't use the configs.

What is changed and how does it work?

Add tls configs for lightning&dumpling in tidb-operator.

Check List

Tests

  • Unit test
  • E2E test
  • Stability test
  • Manual test (add detailed scripts or steps below)
    Manually test dumpling&lightning for tidb cluster.

Code changes

  • Has Go code change

Related changes

  • Need to cherry-pick to the release branch
  • Need to update the documentation

Does this PR introduce a user-facing change?:

Support TLS for Backup&Restore with dumpling&lightning.

@lichunzhu lichunzhu added status/PTAL PR needs to be reviewed needs-cherry-pick-1.1 labels Aug 12, 2020
@lichunzhu lichunzhu force-pushed the supportTLSForBackupManager branch from ecd2a34 to 266b23c Compare August 12, 2020 07:28
cofyc
cofyc previously approved these changes Aug 12, 2020
@codecov-commenter
Copy link

codecov-commenter commented Aug 12, 2020

Codecov Report

Merging #3100 into master will decrease coverage by 0.11%.
The diff coverage is 2.77%.

@@            Coverage Diff             @@
##           master    #3100      +/-   ##
==========================================
- Coverage   42.95%   42.84%   -0.12%     
==========================================
  Files         155      155              
  Lines       16780    16828      +48     
==========================================
+ Hits         7208     7210       +2     
- Misses       8962     9008      +46     
  Partials      610      610              
Flag Coverage Δ
#unittest 42.84% <2.77%> (?)

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

Copy link
Contributor

@DanielZhangQD DanielZhangQD left a comment

Choose a reason for hiding this comment

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

LGTM

@lichunzhu lichunzhu merged commit 3874080 into pingcap:master Aug 13, 2020
@lichunzhu lichunzhu deleted the supportTLSForBackupManager branch August 13, 2020 06:07
ti-srebot pushed a commit to ti-srebot/tidb-operator that referenced this pull request Aug 13, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor

cherry pick to release-1.1 in PR #3104

ti-srebot added a commit that referenced this pull request Aug 14, 2020
#3104)

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>

Co-authored-by: Chunzhu Li <lichunzhu@stu.xjtu.edu.cn>
Co-authored-by: DanielZhangQD <36026334+DanielZhangQD@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TLS Support for Backup&Restore with dumpling&lightning
5 participants