mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 13:55:20 +00:00
Remove backup.velero.io/must-include-additional-items label
Signed-off-by: Joseph <jvaikath@redhat.com>
This commit is contained in:
@@ -112,6 +112,10 @@ func (a *PVCAction) cleanupStaleVeleroLabels(pvc *corev1api.PersistentVolumeClai
|
||||
shouldRemove = true
|
||||
}
|
||||
|
||||
if k == "backup.velero.io/must-include-additional-items" {
|
||||
shouldRemove = true
|
||||
}
|
||||
|
||||
// Remove backup-name labels that don't match current backup
|
||||
if k == "velero.io/backup-name" && v != backup.Name {
|
||||
shouldRemove = true
|
||||
|
||||
Reference in New Issue
Block a user