This is voluntary much like the decision to allow beards and religious headgear.
https://www.npr.org/sections/thetwo-way/2014/01/23/265230702/pentagon-relaxes-uniform-rules-to-allow-religious-headgear
The ban on very unobtrusive bible verses would seem discriminatory on its face.