Remove the leaves from the parsley and chop them finely.
Use a garlic press to extract the pulp from the garlic cloves. In a bowl, mix the softened butter with the garlic and parsley using a fork or your fingertips.
In a medium-sized saucepan, combine the flavored butter, water, and a pinch of salt. Bring to a boil.
Remove from heat and add the flour all at once, stirring vigorously. Cook the dough over low heat for 3 minutes to dry it out.
Off the heat, incorporate the eggs one at a time, mixing energetically until the dough is completely smooth.
Add the grated cheese, season with pepper to taste, and mix again.
Preheat your oven to 200°C (392°F, gas mark 6-7).
On a baking sheet lined with parchment paper, use a tablespoon to form small mounds of dough about the size of a cream puff (chouquette).
Brush the tops with the egg yolk mixed with a little water.
Bake in the oven for 20 to 25 minutes until golden brown.