'return volume mount information'

def get_volumes(self, mounts=False):

    if mounts:
        return (self.get(DeploymentConfig.volume_mounts_path) or [])
    return (self.get(DeploymentConfig.volumes_path) or [])
