File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cmd/kubeadm/app/phases/certs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,10 @@ func CreatePKIAssets(cfg *kubeadmapi.InitConfiguration) error {
64
64
return CreateServiceAccountKeyAndPublicKeyFiles (cfg .CertificatesDir )
65
65
}
66
66
67
- // CreateServiceAccountKeyAndPublicKeyFiles create a new public/private key files for signing service account users.
68
- // If the sa public/private key files already exists in the target folder, they are used only if evaluated equals; otherwise an error is returned.
67
+ // CreateServiceAccountKeyAndPublicKeyFiles creates new public/private key files for signing service account users.
68
+ // If the sa public/private key files already exist in the target folder, they are used only if evaluated equals; otherwise an error is returned.
69
69
func CreateServiceAccountKeyAndPublicKeyFiles (certsDir string ) error {
70
- klog .V (1 ).Infoln ("creating a new public/private key files for signing service account users" )
70
+ klog .V (1 ).Infoln ("creating new public/private key files for signing service account users" )
71
71
_ , err := keyutil .PrivateKeyFromFile (filepath .Join (certsDir , kubeadmconstants .ServiceAccountPrivateKeyName ))
72
72
if err == nil {
73
73
// kubeadm doesn't validate the existing certificate key more than this;
You can’t perform that action at this time.
0 commit comments