mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-06 21:36:30 +00:00
Always create DataUpload configmap in restore namespace
Signed-off-by: Scott Seago <sseago@redhat.com>
This commit is contained in:
1
changelogs/unreleased/8621-sseago
Normal file
1
changelogs/unreleased/8621-sseago
Normal file
@@ -0,0 +1 @@
|
||||
Always create DataUpload configmap in restore namespace
|
||||
@@ -94,7 +94,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),
|
||||
|
||||
Reference in New Issue
Block a user