-
Notifications
You must be signed in to change notification settings - Fork 499
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
New certificate layout for tiproxy (#5825) #5933
New certificate layout for tiproxy (#5825) #5933
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/run-all-tests |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release-1.6 #5933 +/- ##
================================================
- Coverage 57.20% 46.23% -10.97%
================================================
Files 259 219 -40
Lines 33233 31061 -2172
================================================
- Hits 19010 14362 -4648
- Misses 12290 14915 +2625
+ Partials 1933 1784 -149
|
/run-pull-e2e-kind |
/run-pull-e2e-kind-across-kubernetes |
/run-pull-e2e-kind-serial |
This is an automated cherry-pick of #5825
What problem does this PR solve?
This PR introduces a new spec field for tiproxy:
certLayout
. It determines how tidb-operator mounts certificate related k8s secrets and how to configure TLS related configuration for tiproxy.For compatibility, the old certLayout is kept as legacy (the default value), the newly added one is the
v1
. So that upgrading tidb-operator to new version is safe and change nothing.What is changed and how does it work?
Code changes
Tests
certLayout
to `v1 for this tc, the tiproxy pods should be restarted** the tiproxy pods have been restarted
Side effects
Related changes
Release Notes
Please refer to Release Notes Language Style Guide before writing the release note.