kubeadm: fix comment typo

Signed-off-by: chymy <chang.min1@zte.com.cn>
This commit is contained in:
chymy 2022-07-18 16:48:29 +08:00
parent 3987c8ad91
commit a1fd50d53a
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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"