mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-07-25 01:22:45 +00:00
@@ -0,0 +1 @@
|
||||
Fix issue #6534, reset PVB CR's StorageLocation to the latest one during backup sync as same as the backup CR
|
||||
@@ -209,6 +209,7 @@ func (b *backupSyncReconciler) Reconcile(ctx context.Context, req ctrl.Request)
|
||||
|
||||
podVolumeBackup.Namespace = backup.Namespace
|
||||
podVolumeBackup.ResourceVersion = ""
|
||||
podVolumeBackup.Spec.BackupStorageLocation = location.Name
|
||||
|
||||
err = b.client.Create(ctx, podVolumeBackup, &client.CreateOptions{})
|
||||
switch {
|
||||
|
||||
Reference in New Issue
Block a user