I agree that it is best to tell the truth. Personally, I would have mentioned something to her at the beginning of the summer. When I applied for a different job last summer, I told my current principal right away. Like your situation, I knew that he would find out somehow and I wanted it to be from me. Obviously, it's too late for you to do that now, but just some advice for next time.