code: def flow_configmap(docker_images):
      flow = Flow(
          name="k8s-flow-configmap", port=9091, protocol="http"
      ).add(
          name="test_executor_configmap",
          uses=f"docker://{docker_images[0]}",
          env={"k1": "v1", "k2": "v2"},
      )
      return flow
  
file_path: jina/tests/docker_compose/test_flow_docker_compose.py
imports: import os
  import pytest
  import requests
  from jina import Client, Document, Flow
  from jina.helper import random_port
  from jina.serve.runtimes.servers import BaseServer
  from tests.docker_compose.conftest import DockerComposeServices
  from tests.helper import _validate_custom_gateway_process, _validate_dummy_custom_gateway_response
label_desc: Use image node_id 2 for calling a global function with example usage: flow_configmap(docker_images) and returns: flow