I joined the Army. Guess what? I have whatever Constitutional rights the Army, in its wisdom, decides that I have.
Yep, exactly right. You do not have the same right as civilians. And you signed a legal contract agreeing to that. Free Speech, gun rights, rights against search and seizure, etc,.. ALL the rights afforded to civilian citizens under our Constitution are in abeyance for you, as long as you remain in military service.
Everyone in the service is in the same boat. And we all volunteered to be there. If no one explained that to you before you went in, they should have.