diff --git a/cmd/kubeadm/app/componentconfigs/utils.go b/cmd/kubeadm/app/componentconfigs/utils.go index c77b78f3fc1..9d078122fed 100644 --- a/cmd/kubeadm/app/componentconfigs/utils.go +++ b/cmd/kubeadm/app/componentconfigs/utils.go @@ -64,7 +64,7 @@ func (errs UnsupportedConfigVersionsErrorMap) Error() string { } // warnDefaultComponentConfigValue prints a warning if the user modified a field in a certain -// CompomentConfig from the default recommended value in kubeadm. +// ComponentConfig from the default recommended value in kubeadm. func warnDefaultComponentConfigValue(componentConfigKind, paramName string, defaultValue, userValue interface{}) { klog.Warningf("The recommended value for %q in %q is: %v; the provided value is: %v", paramName, componentConfigKind, defaultValue, userValue) diff --git a/cmd/kubeadm/app/constants/constants.go b/cmd/kubeadm/app/constants/constants.go index 1176f5d11cc..93ae37a62b8 100644 --- a/cmd/kubeadm/app/constants/constants.go +++ b/cmd/kubeadm/app/constants/constants.go @@ -189,7 +189,7 @@ const ( // system:nodes group subject is removed if present. NodesClusterRoleBinding = "system:node" - // KubeletBaseConfigMapRolePrefix defines the base kubelet configuration ConfigMap. + // KubeletBaseConfigMapRole defines the base kubelet configuration ConfigMap. KubeletBaseConfigMapRole = "kubeadm:kubelet-config" // KubeProxyClusterRoleBindingName sets the name for the kube-proxy CluterRoleBinding KubeProxyClusterRoleBindingName = "kubeadm:node-proxier"