From adae1e33eae4f116ef8a9b33183885a49afe634c Mon Sep 17 00:00:00 2001 From: SataQiu Date: Thu, 12 Oct 2023 15:11:12 +0800 Subject: [PATCH] kubeadm: remove AlphaDisclaimer for certs phases --- cmd/kubeadm/app/cmd/phases/init/certs.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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