Skip to content

Commit 7bf9acd

Browse files
committed
Change misleading log message
Secret instead of configmap for upload certs phase
1 parent 69718b9 commit 7bf9acd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/kubeadm/app/phases/copycerts/copycerts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func CreateCertificateKey() (string, error) {
8686

8787
//UploadCerts save certs needs to join a new control-plane on kubeadm-certs sercret.
8888
func UploadCerts(client clientset.Interface, cfg *kubeadmapi.InitConfiguration, key string) error {
89-
fmt.Printf("[upload-certs] Storing the certificates in ConfigMap %q in the %q Namespace\n", kubeadmconstants.KubeadmCertsSecret, metav1.NamespaceSystem)
89+
fmt.Printf("[upload-certs] Storing the certificates in Secret %q in the %q Namespace\n", kubeadmconstants.KubeadmCertsSecret, metav1.NamespaceSystem)
9090
decodedKey, err := hex.DecodeString(key)
9191
if err != nil {
9292
return err

0 commit comments

Comments
 (0)