-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
session/variable: forbid changing @@global.require_secure_transport to 'on' with SEM enabled #47677 #47689
session/variable: forbid changing @@global.require_secure_transport to 'on' with SEM enabled #47677 #47689
Conversation
Hi @tiancaiamao. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. 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. |
/test unit-test |
@tiancaiamao: Cannot trigger testing until a trusted user reviews the PR and leaves an 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. |
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
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## release-7.1 #47689 +/- ##
================================================
Coverage ? 73.4788%
================================================
Files ? 1206
Lines ? 377642
Branches ? 0
================================================
Hits ? 277487
Misses ? 82480
Partials ? 17675 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bb7133, CbcWestwolf, djshow832 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 |
1 similar comment
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bb7133, CbcWestwolf, djshow832 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 |
[LGTM Timeline notifier]Timeline:
|
/test unit-test |
@Ivy-YinSu: Cannot trigger testing until a trusted user reviews the PR and leaves an 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. |
What problem does this PR solve?
Issue Number: close #47665
Problem Summary:
The configuration for TiDB Cloud dedicated cluster is:
We just provide the
ca.crt
file for the the users to connect the TiDB cluster. Whenrequire_secure_transport = OFF
, there is no problem.But if the user set the value of require_secure_transport to 'ON', the users can not connect to the cluster anymore!
This is because the new configuration require the mysql client to pass all
ca.crt
tls.crt
tls.key
correctly, while the user only have theca.crt
file.What is changed and how it works?
To prevent the user from losing access of the cluster, we can forbid changing
require_secure_transport
system variable to 'on' as a workaround, then the user can not modify it and trigger the issue.Check List
Tests
Modify the config.toml.example:
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.