Certainly there is always some of that around in any organization: Don't undermine your boss. Some bosses are more open or effective at that than others. The executive branch has well over a million employees, so everything you can imagine is probably going on somewhere all the time.
In those cases, I think those situations were local to Pentagon programs; they were not instructions from the White House; they weren't blanket gag orders for whole departments on every issue.