Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug to make the restic prune frequency configurable #4518

Merged
merged 1 commit into from
Feb 24, 2022

Conversation

ywk253100
Copy link
Contributor

We introduces the installation option "--default-restic-prune-frequency" to make restic prune frequency configuration in the previous release, but there is a bug that make the option don't take effect. This commit fixes the bug by removing the evaluation part. The restic repository controller will take care the prune frequency for the repository

Fixes #3062

Signed-off-by: Wenkai Yin(尹文开) yinw@vmware.com

Thank you for contributing to Velero!

Please add a summary of your change

Does your change fix a particular issue?

Fixes #(issue)

Please indicate you've done the following:

  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Created a changelog file or added /kind changelog-not-required as a comment on this pull request.
  • Updated the corresponding documentation in site/content/docs/main.

We introduces the installation option "--default-restic-prune-frequency" to make restic prune frequency configuration in the previous release, but there is a bug that make the option don't take effect. This commit fixes the bug by removing the evaluation part. The restic repository controller will take care the prune frequency for the repository

Fixes vmware-tanzu#3062

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
@ywk253100
Copy link
Contributor Author

Make it draft as we want to merge it after cutting branch for 1.8

@ywk253100 ywk253100 marked this pull request as ready for review January 17, 2022 06:10
@jenting jenting requested review from reasonerjt and removed request for zubron February 17, 2022 00:57
@qiuming-best qiuming-best merged commit 17043cd into vmware-tanzu:main Feb 24, 2022
@elchenberg
Copy link

@ywk253100 Thank you for fixing this bug. Will the MaintenanceFrequency of the already existing ResticRepositories be updated automatically or do I have to do it manually?

@ywk253100
Copy link
Contributor Author

@elchenberg You need to update them manually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants