diff --git a/cmd/kubeadm/app/cmd/phases/init/certs.go b/cmd/kubeadm/app/cmd/phases/init/certs.go index 258af8b38f4..27c949f5b83 100644 --- a/cmd/kubeadm/app/cmd/phases/init/certs.go +++ b/cmd/kubeadm/app/cmd/phases/init/certs.go @@ -39,14 +39,15 @@ var ( saKeyLongDesc = fmt.Sprintf(cmdutil.LongDesc(` Generate the private key for signing service account tokens along with its public key, and save them into %s and %s files. + If both files already exist, kubeadm skips the generation step and existing files will be used. - `+cmdutil.AlphaDisclaimer), kubeadmconstants.ServiceAccountPrivateKeyName, kubeadmconstants.ServiceAccountPublicKeyName) + `), kubeadmconstants.ServiceAccountPrivateKeyName, kubeadmconstants.ServiceAccountPublicKeyName) genericLongDesc = cmdutil.LongDesc(` Generate the %[1]s, and save them into %[2]s.crt and %[2]s.key files.%[3]s If both files already exist, kubeadm skips the generation step and existing files will be used. - ` + cmdutil.AlphaDisclaimer) + `) ) // NewCertsPhase returns the phase for the certs