allow setting a replicaSet