code: def convert_configmap(configmap_name) -> k8s.V1EnvFromSource:
      """
      Converts a str into an k8s object.
  
      :param configmap_name: config map name
      :return:
      """
      return k8s.V1EnvFromSource(
          config_map_ref=k8s.V1ConfigMapEnvSource(name=configmap_name)
      )
  
imports: from __future__ import annotations
  from kubernetes.client import models
label_desc: Use image node_id 1 for calling a global function with example usage: convert_configmap(configmap_name) and returns: k8s