-
Notifications
You must be signed in to change notification settings - Fork 498
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
br: modify to use one kubeconfig for multiple data planes #5186
br: modify to use one kubeconfig for multiple data planes #5186
Conversation
Signed-off-by: WangLe1321 <[email protected]>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #5186 +/- ##
===========================================
- Coverage 57.98% 33.76% -24.23%
===========================================
Files 245 208 -37
Lines 29240 27685 -1555
===========================================
- Hits 16954 9347 -7607
- Misses 10639 17115 +6476
+ Partials 1647 1223 -424
|
/test pull-e2e-kind pull-e2e-kind-across-kubernetes pull-e2e-kind-basic |
@WangLe1321: The label(s) 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 ti-community-infra/tichi repository. |
@WangLe1321: No presubmit jobs available for pingcap/tidb-operator@master 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. |
Signed-off-by: WangLe1321 <[email protected]>
/test pull-e2e-kind pull-e2e-kind-across-kubernetes pull-e2e-kind-basic |
@WangLe1321: The label(s) 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 ti-community-infra/tichi repository. |
@WangLe1321: No presubmit jobs available for pingcap/tidb-operator@master 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. |
/test pull-e2e-kind-across-kubernetes pull-e2e-kind-br pull-e2e-kind-serial |
@WangLe1321: The label(s) 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 ti-community-infra/tichi repository. |
@WangLe1321: No presubmit jobs available for pingcap/tidb-operator@master 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. |
/test pull-e2e-kind pull-e2e-kind-across-kubernetes pull-e2e-kind-basic |
@WangLe1321: The label(s) 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 ti-community-infra/tichi repository. |
@WangLe1321: No presubmit jobs available for pingcap/tidb-operator@master 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. |
/test pull-e2e-kind-br pull-e2e-kind-serial |
@WangLe1321: The label(s) 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 ti-community-infra/tichi repository. |
@WangLe1321: No presubmit jobs available for pingcap/tidb-operator@master 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. |
/test pull-e2e-kind pull-e2e-kind-across-kubernetes pull-e2e-kind-basic pull-e2e-kind-br |
@WangLe1321: The label(s) 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 ti-community-infra/tichi repository. |
@WangLe1321: No presubmit jobs available for pingcap/tidb-operator@master 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. |
/test pull-e2e-kind pull-e2e-kind-across-kubernetes |
@WangLe1321: The label(s) 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 ti-community-infra/tichi repository. |
@WangLe1321: No presubmit jobs available for pingcap/tidb-operator@master 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. |
/test pull-e2e-kind-across-kubernetes pull-e2e-kind |
@WangLe1321: The label(s) 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 ti-community-infra/tichi repository. |
@WangLe1321: No presubmit jobs available for pingcap/tidb-operator@master 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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BornChanger, csuzhangxc 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:
|
/cherry-pick release-1.5 |
@WangLe1321: The label(s) 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 ti-community-infra/tichi repository. |
@WangLe1321: new pull request created to branch 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 ti-community-infra/tichi repository. |
) Signed-off-by: WangLe1321 <[email protected]> Co-authored-by: WangLe1321 <[email protected]>
What problem does this PR solve?
Modify to use one kubeconfig for multiple data planes
Closes #5183
What is changed and how does it work?
Change the flag
federation-kubeconfig-path
to the kubeconfig file path. Then read the kubeconfig file and use the contexts in kubeconfig file mapping to the data planesAfter this change, the secret that stores the kubeconfig file should be configured like this:
If the user want to use custom secret name or custom data key, he should change the value of chart
.brFederationManager.federationKubeconfigSecret
or.brFederationManager.federationKubeconfigSecretKey
Code changes
Tests
Side effects
Related changes
Release Notes
Please refer to Release Notes Language Style Guide before writing the release note.