Goldwater was decently outspoken about allowing gays in the military.
"Some in congress think I'm wrong. They say we absolutely must continue to discriminate, or all hell will break loose. Who knows, they say, perhaps our soldiers may even take up arms against each other.
Well, that's just stupid.
Years ago, I was a lieutenant in charge of an all-black unit. Military leaders at the time believed that blacks lacked leadership potential - period. That seems ridiculous now, as it should. Now, each and every man and woman who serves this nation takes orders from a black man - our own Gen. Colin Powell."
https://www.cs.cmu.edu/afs/cs/user/scotts/bulgarians/barry-goldwater.html