Since you don´t infringe on anyone´s rights by having the military open to everyone regardless of gender, sexual orientation or skin color, it´s hardly a difficult issue. I also expect the military to have the standards they expect of people, both phsycially and psychologically. If that means fewer of a certain gender can join, then that is a consequence of demands set, not rights limited.