Mongodb replicasets over consul and "statefullset"

I am attempting to setup a mongodb replicaset over consul connect in a single job file. Is there any harm in specifying three volumes in the group and then specific volume mounts for each task? Is that the correct way to get the statefullset workflow from k8s?