-
Notifications
You must be signed in to change notification settings - Fork 404
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
update yurt-tunnel-server certificate automatically #525
Conversation
@YRXING: GitHub didn't allow me to assign the following users: your_reviewer. Note that only openyurtio members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. 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. |
@YRXING would you be able to add an e2e test case for server certificate updating? |
@YRXING Code is not readable if server certificate coupling with IPs resolving. how about decouple server certificate and IPs resolving? |
2a9e9db
to
9589f51
Compare
@YRXING please fix e2e test error. |
21efefb
to
f964d51
Compare
Here is the yurttunnel-server's log. Firstly, it will get the dnsNames and ips through api-server directly and generate the certificate. Then it begins to watch the related resources to regenerate the certificate automatically. When I recreate the I1108 09:56:14.373548 1 start.go:53] yurttunnel-server version: projectinfo.Info{GitVersion:"v0.5.0", GitCommit:"58587a2", BuildDate:"2021-11-08T09:47:55Z", GoVersion:"go1.15.15", Compiler:"gc", Platform:"linux/amd64"} Try `iptables -h' or 'iptables --help' for more information. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rambohe-ch, YRXING 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 |
What type of PR is this?
What this PR does / why we need it:
improve yurt-tunnel-server to automatically update server certificates when LB service address changed.
Which issue(s) this PR fixes:
Fixes #411
Special notes for your reviewer:
the test is needed.
and is this idea feasible?
Does this PR introduce a user-facing change?
other Note