Merge pull request #1959 from k8s-explore/master

cmd: fix a few function names on comments
This commit is contained in:
KubeSphere CI Bot 2023-08-22 13:59:58 +08:00 committed by GitHub
commit 40919ad223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ const (
CertsFileList = "certsFileList"
)
// KubekeyCertEtcdCA is the definition of the root CA used by the hosted etcd server.
// KubekeyCertRegistryCA is the definition of the root CA used by the hosted etcd server.
func KubekeyCertRegistryCA() *certs.KubekeyCert {
return &certs.KubekeyCert{
Name: "registry-ca",
@ -53,7 +53,7 @@ func KubekeyCertRegistryCA() *certs.KubekeyCert {
}
}
// KubekeyCertEtcdAdmin is the definition of the cert for etcd admin.
// KubekeyCertRegistryServer is the definition of the cert for etcd admin.
func KubekeyCertRegistryServer(baseName string, altNames *certutil.AltNames) *certs.KubekeyCert {
return &certs.KubekeyCert{
Name: "registry-server",