mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-15 11:46:06 +00:00
Merge pull request #6543 from Lyndon-Li/release-1.11
[release-1.11] Fix issue 6534
This commit is contained in:
@@ -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