code: func getComponentConfigs(client clientset.Interface, clusterConfiguration *kubeadmapi.ClusterConfiguration) error {
  	// some config maps is versioned, so we need the KubernetesVersion for getting the right config map
  	k8sVersion := version.MustParseGeneric(clusterConfiguration.KubernetesVersion)
  	for kind, registration := range componentconfigs.Known {
  		obj, err := registration.GetFromConfigMap(client, k8sVersion)
  		if err != nil {
  			return err
  		}
  
  		if ok := registration.SetToInternalConfig(obj, clusterConfiguration); !ok {
  			return errors.Errorf("couldn't save componentconfig value for kind %q", string(kind))
  		}
  	}
  	return nil
  }
docs: // getComponentConfigs gets the component configs from the corresponding config maps