'add a volume or volume mount to the proper location'

def add_volume(self, volume):

    exist_volumes = self.get_volumes()
    if (not volume):
        return
    if (not exist_volumes):
        self.put(DeploymentConfig.volumes_path, [volume])
    else:
        exist_volumes.append(volume)
