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
Automated cherry pick of #109694: Be sure to update the status of StatefulSet even if the new #112084
Automated cherry pick of #109694: Be sure to update the status of StatefulSet even if the new #112084
Conversation
/retest |
In the long term, the complex defer function makes the code harder to maintain as code after it should take that into account. This removes the complex defer function updating the status of a statefulset.
23e0e5d
to
65beed7
Compare
@soltysh @atiratree Could you PTAL? |
/hold the tests added with this PR are flaking in master, we should verify this is not going to regress |
The flaking tests were added by a different PR (#112127) for daemon sets. This PR should be ok, but yes we should wait with backporting for some time to see that this does not cause any regressions |
retesting flakes |
we can proceed here, as the code seems to be stable |
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
/approve
/triage accepted |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gjkim42, soltysh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
LGTM label has been added. Git tree hash: 69ffc4d6c0b05c4356bb315fb5ae03872d6f49a8
|
/cc @kubernetes/release-managers |
/lgtm |
/test pull-kubernetes-integration |
ref: #112010
Cherry pick of #109694 #112737 on release-1.23.
#109694: Be sure to update the status of StatefulSet even if the new
#112737: StatefulSet: Cleanup the complex defer function updating the
For details on the cherry pick process, see the cherry pick requests page.