diff --git a/changelogs/unreleased/4518-ywk253100 b/changelogs/unreleased/4518-ywk253100 new file mode 100644 index 000000000..e1b918174 --- /dev/null +++ b/changelogs/unreleased/4518-ywk253100 @@ -0,0 +1 @@ +Fix bug to make the restic prune frequency configurable \ No newline at end of file diff --git a/pkg/restic/repository_ensurer.go b/pkg/restic/repository_ensurer.go index d80dcb6eb..f1f4f168a 100644 --- a/pkg/restic/repository_ensurer.go +++ b/pkg/restic/repository_ensurer.go @@ -160,7 +160,6 @@ func (r *repositoryEnsurer) EnsureRepo(ctx context.Context, namespace, volumeNam Spec: velerov1api.ResticRepositorySpec{ VolumeNamespace: volumeNamespace, BackupStorageLocation: backupLocation, - MaintenanceFrequency: metav1.Duration{Duration: DefaultMaintenanceFrequency}, }, }