code: func getConfigMapRefValue(client kubernetes.Interface, namespace string, store *ResourceStore, configMapSelector *corev1.ConfigMapKeySelector) (string, error) {
  	configMap, ok := store.ConfigMapStore[configMapSelector.Name]
  	if !ok {
  		var err error
  		configMap, err = client.CoreV1().ConfigMaps(namespace).Get(configMapSelector.Name, metav1.GetOptions{})
  		if err != nil {
  			return "", err
  		}
  		store.ConfigMapStore[configMapSelector.Name] = configMap
  	}
  	if data, ok := configMap.Data[configMapSelector.Key]; ok {
  		return string(data), nil
  	}
  	return "", fmt.Errorf("key %s not found in config map %s", configMapSelector.Key, configMapSelector.Name)
  }
docs: // getConfigMapRefValue returns the value of a configmap in the supplied namespace