def _make_env(environment):
    """Change from Docker environment to Kubernetes env

    Args:
        environment (dict): Docker-style environment data

    Returns:
        list: Kubernetes-style env data
    """
    env = []
    for key, value in environment.items():
        env.append({"name": key, "value": value})

    return env