In a small saucepan, combine the vinegar, brown sugar, lime juice, salt, and chili flakes. Bring to a boil, stirring well to dissolve the sugar. Once dissolved, remove from the heat and allow to cool.
Use your mandolin to slice your cucumbers very thin. Combine the cucumbers with the thinly sliced onions and transfer to a wide-mouth quart canning jar.
Add the cooled vinegar mixture, leaving 1 inch of headspace. Add the canning lid and ring, and allow the jar to sit, undisturbed, for 1-2 hours before transferring to the refrigerator.
Store in the refrigerator for up to two weeks.