This commit is contained in:
d-kuro 2019-03-11 13:12:46 +09:00
parent 01c9edf7fa
commit 4f301cc97a
No known key found for this signature in database
GPG Key ID: 7F20AF8CA13D6A08

View File

@ -184,7 +184,7 @@ func LoadCertificateAuthority(pkiDir string, baseName string) (*x509.Certificate
// writeCertificateAuthorithyFilesIfNotExist write a new certificate Authority to the given path.
// If there already is a certificate file at the given path; kubeadm tries to load it and check if the values in the
// existing and the eexpected certificate equals. If they do; kubeadm will just skip writing the file as it's up-to-date,
// existing and the expected certificate equals. If they do; kubeadm will just skip writing the file as it's up-to-date,
// otherwise this function returns an error.
func writeCertificateAuthorithyFilesIfNotExist(pkiDir string, baseName string, caCert *x509.Certificate, caKey *rsa.PrivateKey) error {