Skip to content

Commit

Permalink
Always create DataUpload configmap in restore namespace
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Seago <[email protected]>
  • Loading branch information
sseago committed Jan 16, 2025
1 parent 804d73c commit 930cb67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelogs/unreleased/8621-sseago
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Always create DataUpload configmap in restore namespace
2 changes: 1 addition & 1 deletion pkg/restore/actions/dataupload_retrieve_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (d *DataUploadRetrieveAction) Execute(input *velero.RestoreItemActionExecut
},
ObjectMeta: metav1.ObjectMeta{
GenerateName: dataUpload.Name + "-",
Namespace: dataUpload.Namespace,
Namespace: input.Restore.Namespace,
Labels: map[string]string{
velerov1api.RestoreUIDLabel: label.GetValidName(string(input.Restore.UID)),
velerov1api.PVCNamespaceNameLabel: label.GetValidName(dataUpload.Spec.SourceNamespace + "." + dataUpload.Spec.SourcePVC),
Expand Down

0 comments on commit 930cb67

Please sign in to comment.