-
Notifications
You must be signed in to change notification settings - Fork 193
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: set backuppolicy.spec.backofflimit to default value #7192
Conversation
} | ||
return ctrl.Result{}, nil | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these code can be removed and api server will set the default value if using kubebuilder marker
https://github.com/apecloud/kubeblocks/actions/runs/8963240638/job/24613248659?pr=7192 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7192 +/- ##
==========================================
- Coverage 64.98% 64.85% -0.13%
==========================================
Files 337 337
Lines 41714 41713 -1
==========================================
- Hits 27106 27054 -52
- Misses 12258 12298 +40
- Partials 2350 2361 +11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
/cherry-pick release-0.9 |
🤖 says: cherry pick action finished successfully 🎉! |
Set backofflimit to default value when creating backuppolicy (cherry picked from commit 4b299f2)
fix #7122
Set default value to backofflimit when creating backuppolicy APIs