Combine vinegar, sugar, red pepper flakes, mustard seeds and salt in a small sauce pan. Bring to a boil. While mixture is coming to a boil combine zucchini, onions, garlic in 2 Ball jars. Pour half the vinegar mixture over the zucchini in each jar. Fill the rest of the way up with water and refrigerate for at least 24 hours before serving.