If she doesn't do this at your mom's house or when you're out and about, it's very likely she'll be able and willing not to mess up at kindergarten. There's something in her interactions with you that has her expressing a 'need' for more control. You are 'going crazy,' and that could actually be her problem. Kids must ultimately have choice about their bodily functions, or they can not really be said to be 'trained.'
In this case, it sounds like the two of you would do well to have some honest, caring, mutually respectful conversation. If you can find out what she perceives she needs, or if you can find out how she sees this problem and what her solutions might be, she might show some real improvement.
Find out how to tease these issues out with the wonderful book How to Talk So Kids Will Listen, and Listen So Kids Will Talk, by Faber and Mazlish. The book teaches with real-life examples how parents help the child to address the problem himself. And though we don't usually think about young children in these terms. they can be creative problem solvers. Plus, kids are more invested in solutions they think of themselves, and are more likely to work at making them a success.
You're right about the night peeing. It's normal in many kids, and there is no amount of 'training' that can create the physical readiness (bladder capacity, sphincter control, deep-sleep levels, and hormone that reduces night-time urine production). While most children do reach night dryness before school starts, there are an unlucky few who might be as late as adolescence. Believe me, those kids WANT to be dry at night by the time sleepovers with friends start. But some just can't. Be compassionate and keep her in diapers or pullups until she eventually has two straight weeks of dryness.