Add validation of VolumeMounts

nit: Not specific to this PR. To me, an exported constant with name Err* should be in type error, not string or others.