kubeadm cleanup: master -> control-plane

This commit is contained in:
SataQiu
2019-02-13 11:28:40 +08:00
parent 5c780c8cb1
commit 7edea2b77f
4 changed files with 8 additions and 8 deletions

View File

@@ -328,7 +328,7 @@ type certKeyLocation struct {
}
// SharedCertificateExists verifies if the shared certificates - the certificates that must be
// equal across masters: ca.key, ca.crt, sa.key, sa.pub + etcd/ca.key, etcd/ca.crt if local/stacked etcd
// equal across control-plane nodes: ca.key, ca.crt, sa.key, sa.pub + etcd/ca.key, etcd/ca.crt if local/stacked etcd
func SharedCertificateExists(cfg *kubeadmapi.ClusterConfiguration) (bool, error) {
if err := validateCACertAndKey(certKeyLocation{cfg.CertificatesDir, kubeadmconstants.CACertAndKeyBaseName, "", "CA"}); err != nil {