create pod volume backups in backup's namespace during sync (#1760)

Signed-off-by: Steve Kriss <krisss@vmware.com>
pull/1761/head
Steve Kriss 2019-08-13 11:20:25 -06:00 committed by Adnan Abdulhussein
parent 1670aa17b6
commit 5ef0a84128
1 changed files with 1 additions and 0 deletions

View File

@ -251,6 +251,7 @@ func (c *backupSyncController) run() {
podVolumeBackup.Labels[velerov1api.BackupUIDLabel] = string(backup.UID)
}
podVolumeBackup.Namespace = backup.Namespace
podVolumeBackup.ResourceVersion = ""
_, err = c.podVolumeBackupClient.PodVolumeBackups(backup.Namespace).Create(podVolumeBackup)