mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
kubeadm: fix comment typo
Signed-off-by: chymy <chang.min1@zte.com.cn>
This commit is contained in:
parent
3987c8ad91
commit
a1fd50d53a
@ -64,7 +64,7 @@ func (errs UnsupportedConfigVersionsErrorMap) Error() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// warnDefaultComponentConfigValue prints a warning if the user modified a field in a certain
|
// 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{}) {
|
func warnDefaultComponentConfigValue(componentConfigKind, paramName string, defaultValue, userValue interface{}) {
|
||||||
klog.Warningf("The recommended value for %q in %q is: %v; the provided value is: %v",
|
klog.Warningf("The recommended value for %q in %q is: %v; the provided value is: %v",
|
||||||
paramName, componentConfigKind, defaultValue, userValue)
|
paramName, componentConfigKind, defaultValue, userValue)
|
||||||
|
@ -189,7 +189,7 @@ const (
|
|||||||
// system:nodes group subject is removed if present.
|
// system:nodes group subject is removed if present.
|
||||||
NodesClusterRoleBinding = "system:node"
|
NodesClusterRoleBinding = "system:node"
|
||||||
|
|
||||||
// KubeletBaseConfigMapRolePrefix defines the base kubelet configuration ConfigMap.
|
// KubeletBaseConfigMapRole defines the base kubelet configuration ConfigMap.
|
||||||
KubeletBaseConfigMapRole = "kubeadm:kubelet-config"
|
KubeletBaseConfigMapRole = "kubeadm:kubelet-config"
|
||||||
// KubeProxyClusterRoleBindingName sets the name for the kube-proxy CluterRoleBinding
|
// KubeProxyClusterRoleBindingName sets the name for the kube-proxy CluterRoleBinding
|
||||||
KubeProxyClusterRoleBindingName = "kubeadm:node-proxier"
|
KubeProxyClusterRoleBindingName = "kubeadm:node-proxier"
|
||||||
|
Loading…
Reference in New Issue
Block a user