code: func parseConfig(configReader io.Reader) (*Config, error) {
  	var config Config
  
  	if configReader == nil {
  		return &config, nil
  	}
  
  	configContents, err := ioutil.ReadAll(configReader)
  	if err != nil {
  		return nil, err
  	}
  	err = yaml.Unmarshal(configContents, &config)
  	if err != nil {
  		return nil, err
  	}
  
  	// The resource group name may be in different cases from different Azure APIs, hence it is converted to lower here.
  	// See more context at https://github.com/kubernetes/kubernetes/issues/71994.
  	config.ResourceGroup = strings.ToLower(config.ResourceGroup)
  	return &config, nil
  }
docs: // parseConfig returns a parsed configuration for an Azure cloudprovider config file