def METHOD_NAME() -> EnvoyConfig:
    """Helper function for getting an envoy config with correctly initialized ready listener"""
    aconf = Config()
    secret_handler = NullSecretHandler(logger, None, None, "0")
    ir = IR(aconf, file_checker=lambda path: True, secret_handler=secret_handler)
    assert ir
    # This is required in order to reload module-level variables that depend on os.environ.
    # Otherwise the module variables can have stale values.
    importlib.reload(ambassador.envoy.v3.v3ready)
    return EnvoyConfig.generate(ir)