Not surprising; in today's world, knowing when to keep your mouth shut is a survival tactic...
You are correct, you do not need to tell your boss everything. I plan on giving my company just a few months noticed as to my retirement date (which I already know).
It will be long enough to replace me, and short enough it would not be a major bother if they told me to hit the road now.