From 7bf9acd303c6b7a90d10d05b47f1e611695ac34a Mon Sep 17 00:00:00 2001 From: stgleb Date: Mon, 29 Apr 2019 03:06:11 +0300 Subject: [PATCH] Change misleading log message Secret instead of configmap for upload certs phase --- cmd/kubeadm/app/phases/copycerts/copycerts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kubeadm/app/phases/copycerts/copycerts.go b/cmd/kubeadm/app/phases/copycerts/copycerts.go index f67b7b3a288..ae7ad8af13d 100644 --- a/cmd/kubeadm/app/phases/copycerts/copycerts.go +++ b/cmd/kubeadm/app/phases/copycerts/copycerts.go @@ -86,7 +86,7 @@ func CreateCertificateKey() (string, error) { //UploadCerts save certs needs to join a new control-plane on kubeadm-certs sercret. func UploadCerts(client clientset.Interface, cfg *kubeadmapi.InitConfiguration, key string) error { - fmt.Printf("[upload-certs] Storing the certificates in ConfigMap %q in the %q Namespace\n", kubeadmconstants.KubeadmCertsSecret, metav1.NamespaceSystem) + fmt.Printf("[upload-certs] Storing the certificates in Secret %q in the %q Namespace\n", kubeadmconstants.KubeadmCertsSecret, metav1.NamespaceSystem) decodedKey, err := hex.DecodeString(key) if err != nil { return err