code: func addKeyFromLiteralToConfigMap(configMap *v1.ConfigMap, keyName, data string) error {
  	err := validateNewConfigMap(configMap, keyName)
  	if err != nil {
  		return err
  	}
  	configMap.Data[keyName] = data
  	return nil
  }
docs: // addKeyFromLiteralToConfigMap adds the given key and data to the given config map,
  // returning an error if the key is not valid or if the key already exists.