-
Notifications
You must be signed in to change notification settings - Fork 887
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
Standardize the generation and management of certificates #2097
Conversation
6997c10
to
3369d0a
Compare
I have updated the generated cert directory, and make the
|
/retest |
3369d0a
to
b8ebc25
Compare
I generate some common components certificates, but don't generate exclusive certs for |
Actually, I'm not so sure. Is it necessary for us to use an exclusive cert? |
eb15f89
to
12dd193
Compare
12dd193
to
65d06d2
Compare
Unify format,
|
For simplicity, we can use unifily |
/cc @RainbowMango |
Signed-off-by: lonelyCZ <531187475@qq.com>
65d06d2
to
3e89d68
Compare
Generally looks good to me. |
/assign |
Looks good! What's the difference between |
Apiserver maintains mutual authentication with other components, so the certificates should preferably be different. The Each component should have its own certificate, but for convenience, the non-core components will use the Karmda.crt certificate directly, because they don't need to interact with too many other components. |
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.
/approve
Leave LGTM to @mrlihanbo
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RainbowMango 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 |
Hi @lonelyCZ, May this change block users from upgrading, especially from v1.2 to the incoming v1.3? Or, is there anything special we need to explain in upgrading docs? like |
@yy158775 is trying to verify if v1.2 can be smoothly upgraded from v1.2 to v1.3, he met some issues, but not sure if it is caused by this issue yet. |
In principle, we just need to regenerate the certificate and then modify the 'Karmada-Kubeconfig' secret and the YAML of each component. In fact, we can upgrade the version without modifying the certificate, because the PR just standardizes the certificate format.
What are the specific problems?Perhaps, I could also investigate it. |
Yes, this PR just updated the path related. Should not block upgrading. |
The upgrading on the other machine has no problem.My previous problem has nothing to do with this PR. |
Signed-off-by: lonelyCZ 531187475@qq.com
What type of PR is this?
/kind feature
What this PR does / why we need it:
Standardize the generation and management of certificates to prepare for certificate authentication and certificate rotation.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: