Poke the sweet potato with a fork and microwave 6 to 8 minutes (or bake at 400°F for 45 to 60 minutes) until very soft. Peel and mash it.
In a bowl, mix the mashed sweet potato, sugar, melted butter, vanilla, cinnamon, nutmeg, lemon juice, salt, and cardamom until smooth. Set aside.
To make the crust, pulse the flour, salt, and sugar in a food processor 3 to 4 times. Add the cold butter cubes and toss so they're coated with flour.
Pulse until the butter is a bit smaller than pea-sized; a few bigger pieces are okay.
Add the water and pulse until the dough starts sticking together and looks like coarse meal. Turn it out onto a lightly floured surface and form a ball. Divide into 6 equal parts, roll them into balls, and chill 30 minutes.
Preheat the oven to 350°F and line a baking sheet with parchment.
Roll each ball into a 6-inch circle and place on the baking sheet. Spoon a bit less than 1/4 cup filling onto each one. Fold the edges up toward the filling and gently press the folds to stick.
Beat the egg yolk and milk. Brush the edges of each galette and sprinkle with sugar if you like.
Bake 25 to 30 minutes, until golden. Serve warm or at room temperature, with whipped cream if you like. Keep leftovers in the fridge 3 to 4 days.