Preheat the oven to 350 degrees. Spray a 9 x 9 baking dish with cooking spray.
Cook the bacon in a skillet over medium heat. Cook until brown. Remove from the skillet and place on a paper towel lined plate. Chop.
Add the onion to the bacon grease and cook for 3-4 minutes.
Add in the flour, garlic, salt, and pepper, and cook for 2-3 minutes.
Remove from heat and stir in the yogurt and milk.
Add the corn and mix well.
Pour half of the corn mixture into the prepared bowl. Sprinkle with half of the bacon and parsley. Pour remaining corn mixture in the dish and top with remaining bacon and parsley.
Bake for 20 minutes.