-
Notifications
You must be signed in to change notification settings - Fork 810
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
*Chaos: add pre-finalizer and record injecting information in the .Status.Experiment.PodRecords
#2509
*Chaos: add pre-finalizer and record injecting information in the .Status.Experiment.PodRecords
#2509
Conversation
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Codecov Report
@@ Coverage Diff @@
## release-1.2 #2509 +/- ##
==============================================
Coverage ? 50.64%
==============================================
Files ? 86
Lines ? 6360
Branches ? 0
==============================================
Hits ? 3221
Misses ? 2844
Partials ? 295 Continue to review full report at Codecov.
|
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
/run-e2e-tests |
1 similar comment
/run-e2e-tests |
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
/run-e2e-tests |
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.
Rest LGTM
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
…ix-deletion-while-apply
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
/run-e2e-tests |
2 similar comments
/run-e2e-tests |
/run-e2e-tests |
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.
Rest LGTM
|
||
chaos.GetMeta().SetFinalizers(finalizer.RemoveFromFinalizer(chaos.GetMeta().GetFinalizers(), common.PreFinalizer)) | ||
|
||
updateError := r.Update(ctx, chaos) |
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.
Why not handle conflict errors here?
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.
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.
Got it!
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.
LGTM
/merge |
This pull request has been accepted and is ready to merge. Commit hash: bba7e8e
|
In this PR, the original finalizer was replaced by the
.Status.Experiment.PodRecords
. TheRecover
process will iterate the injected pods according to this field, but not the finalizers.