-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add Design for Allowing Object-Level Resource Status Restore #8403
base: main
Are you sure you want to change the base?
Add Design for Allowing Object-Level Resource Status Restore #8403
Conversation
0a2eb16
to
3a2d71c
Compare
3a2d71c
to
d0621c7
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8403 +/- ##
==========================================
+ Coverage 58.96% 58.97% +0.01%
==========================================
Files 367 368 +1
Lines 38895 38973 +78
==========================================
+ Hits 22933 22986 +53
- Misses 14500 14524 +24
- Partials 1462 1463 +1 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
design/resource-status-restore.md
Outdated
1. Controller managing specific Resources | ||
- A resource controller identifies that a specific instance of a resource should have its status restored due to particular dependencies | ||
- The controller automatically sets the `velero.io/restore-status: true` annotation on the resource. | ||
- During restore, Velero restores the status of this instance, while leaving other resources unaffected. |
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.
Will velero also annotate that it had restored the status on the resource? That would help with debugging why a resource is a certain status if a controller did not expect its resouce status to be modified by other controllers (velero).
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.
I think current source of truth is the Restore CR spec as well as the label on instance, and IMHO that is sufficient to indicate for why the status was restored.
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.
I see. Thanks.
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.
looks good :)
Signed-off-by: Shubham Pampattiwar <[email protected]> add changelog file Signed-off-by: Shubham Pampattiwar <[email protected]> typo fix Signed-off-by: Shubham Pampattiwar <[email protected]> change instance to object Signed-off-by: Shubham Pampattiwar <[email protected]>
d0621c7
to
17b8d5a
Compare
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.
nice and clear. well done!
Thank you for contributing to Velero!
Please add a summary of your change
Design for #8204
Please indicate you've done the following:
make new-changelog
) or comment/kind changelog-not-required
on this PR.site/content/docs/main
.