mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-27 18:34:18 +00:00
delete old deletion requests for backup when processing a new one
Signed-off-by: Steve Kriss <steve@heptio.com>
This commit is contained in:
@@ -606,6 +606,7 @@ func (s *server) runControllers(config *api.Config) error {
|
||||
gcController := controller.NewGCController(
|
||||
s.logger,
|
||||
s.sharedInformerFactory.Ark().V1().Backups(),
|
||||
s.sharedInformerFactory.Ark().V1().DeleteBackupRequests(),
|
||||
s.arkClient.ArkV1(),
|
||||
config.GCSyncPeriod.Duration,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user