Don't be silly. You don't need to inform your allies of the exact details of what you are planning to do. Just that you are going to take military action and what support they can provide in future, or at least a heads-up about presenting a unites front. And US allies like Germany, Poland, or the UK are fully capable of operational security, and have done many times in the past.
Regardless of that, my point still stands, NATO as a whole has done nothing, because article 5 hasn't been invoked. NATO is a defensive alliance as some here seem to have forgotten. Meant as a tool of defense and detterance. It can also be used as leverage, but only if member states are actually involved. Individual countries within NATO have offered various levels of support for this attack against Iran, up to being willing to assist the US Navy with clearing the Strait. As for airspace, most have allowed full access as usual, others have restricted their airspace, something they are allowed to do.
Calling this as being betrayed by NATO is nonsense, at most you can claim Spain has betrayed the USA but even then that is rather spurious.