Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sseago
Copy link
Collaborator

@sseago sseago commented Jan 15, 2025

Thank you for contributing to Velero!

Please add a summary of your change

In the DataUpload RIA, always create the ConfigMap in the Restore (velero) ns rather than the NS that the DataUpload was created in.
In most cases these are the same, but they won't be if the backup was done in a cluster with velero installed in namespace1 and the restore is being done with velero installed in namespace2. In this case, we need the configmap created in the namespace that velero is currently running in.

Does your change fix a particular issue?

Fixes #8617

Please indicate you've done the following:

@codecov
Copy link

codecov bot commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.19%. Comparing base (0543750) to head (d090d0a).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8621   +/-   ##
=======================================
  Coverage   59.19%   59.19%           
=======================================
  Files         370      370           
  Lines       39812    39812           
=======================================
  Hits        23566    23566           
  Misses      14746    14746           
  Partials     1500     1500           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Lyndon-Li Lyndon-Li merged commit 223e1fc into vmware-tanzu:main Jan 16, 2025
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Datamover restore fails if restore cluster is using velero installed in a different namespace than velero on the backup cluster.

3 participants