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

def add_volume_mount(self, volume_mount):

    exist_volume_mounts = self.get_volume_mounts()
    if ((not exist_volume_mounts) and volume_mount):
        self.put(DeploymentConfig.volume_mounts_path, [volume_mount])
    else:
        exist_volume_mounts.append(volume_mount)
