-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
BUG: 使用 kubeadm certs renew all 证书还原成 365d #4312
Comments
sealos安装后就是99y:
为什么还要kubeadm cert renew |
kubeadm cert renew 肯定是1年…… |
kubeadm cert renew must be 1 year... |
使用 sealos cert 操作也一样是 1 年 |
Using sealos cert operation is also 1 year |
sealos cert 是加域名的东西 不是延长证书的工具。。。 |
sealos cert is a tool for adding domain names, not a tool for extending certificates. . . |
但是也有偶尔这些需求吧,加一些 IP、域名什么的到证书处。 |
But there are also occasional needs. Add some IPs, domain names, etc. to the certificate. |
初始化的时候,我certSAN都是预留三个域名的 |
During initialization, my certSAN reserves three domain names. |
你是指 ClusterConfig 资源吗? @zhangguanzhang 然而我试过了 修改 sealos 生成的 Clusterfile 文件。 类似如下
实验的结果是无效, etcd 证书始终是 当前 节点的 127.0.0.1 和 MasterIP。 不包含其他节点的 masterIP 。 sealos 工具版本 就是最新的。4.3.7 |
Are you referring to the ClusterConfig resource? @zhangguanzhang However, I tried modifying the Clusterfile generated by sealos. Similar to the following
The result of the experiment is invalid, the etcd certificate is always the 127.0.0.1 and MasterIP of the current node. Does not contain the masterIP of other nodes. The sealos tool version is the latest. 4.3.7 |
🤔我是说一般初始化的时候,你可以自己手动用ca签署下新证书也可以的 |
🤔I mean during general initialization, you can manually sign the new certificate with ca yourself. |
@zhangguanzhang 细说下这个操作。 |
@zhangguanzhang Please explain this operation in detail. |
就用原来的ca文件,手动openssl或者cfssl签署新证书 |
Just use the original ca file and manually sign the new certificate with openssl or cfssl. |
Sealos Version
v4.3.7
How to reproduce the bug?
尝试使用 kubeadm certs renew all 后。所有证书变成 365d
What is the expected behavior?
难道不应该是 99y ?
看 sealos 文档,没发现证书 续期操作
What do you see instead?
No response
Operating environment
Additional information
No response
The text was updated successfully, but these errors were encountered: