The US Military has evolved its attitudes on this from considering it a Mortal Sin (Dishonorable Discharge with possible Prison Time) to allowing open behavior that does not run afoul of the "fraternization regulation).
We have had some rather serious security failures by LGBT persons but none due to blackmail that have made the newspapers.