func addKubeletConfigFlags(cmdArgs *[]string, kc *kubeletconfig.KubeletConfiguration, flags []string) {
	fs := pflag.NewFlagSet("kubelet", pflag.ExitOnError)
	options.AddKubeletConfigFlags(fs, kc)
	for _, name := range flags {
		*cmdArgs = append(*cmdArgs, "--"+name, fs.Lookup(name).Value.String())
	}
}
// addKubeletConfigFlags adds the flags we care about from the provided kubelet configuration object
addKubeletConfigFlags adds the flags we care about from the provided kubelet configuration object
// addKubeletConfigFlags adds the flags we care about from the provided kubelet configuration object
func addKubeletConfigFlags(cmdArgs *[]string, kc *kubeletconfig.KubeletConfiguration, flags []string) {
	fs := pflag.NewFlagSet("kubelet", pflag.ExitOnError)
	options.AddKubeletConfigFlags(fs, kc)
	for _, name := range flags {
		*cmdArgs = append(*cmdArgs, "--"+name, fs.Lookup(name).Value.String())
	}
}
func addKubeletConfigFlags ( cmdArgs * [ ] string , kc * kubeletconfig . KubeletConfiguration , flags [ ] string ) { fs := pflag . NewFlagSet ( " " , pflag . ExitOnError ) options . AddKubeletConfigFlags ( fs , kc ) for _ , name := range flags { * cmdArgs = append ( * cmdArgs , " " + name , fs . Lookup ( name ) . Value . String ( ) ) } }
addKubeletConfigFlags adds the flags we care about from the provided kubelet configuration object
addKubeletConfigFlags adds the flags we care about from the provided kubelet configuration object