Based on the following recipe, what are the ingredients needed for the dish?
Ingredients needed: 
- 2 cups cooked lentils
- 1 tablespoon olive oil 
- ½ teaspoon chili pepper flakes 
- 1 onion, minced 
- 2 garlic cloves, minced