-
Notifications
You must be signed in to change notification settings - Fork 39k
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
Resetting managed fields and fieldtype #91748
Resetting managed fields and fieldtype #91748
Conversation
@@ -138,17 +144,32 @@ func (f *FieldManager) Update(liveObj, newObj runtime.Object, manager string) (o | |||
return object, nil | |||
} | |||
|
|||
// Returns true if the managedFields that have indicate that the user is trying to reset the managedFields. |
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'll fix that sentence :-)
/assign @liggitt @kwiesmueller |
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
/retest |
/lgtm after the comment is fixed. |
536d1ed
to
484a2c7
Compare
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/fieldmanager.go
Outdated
Show resolved
Hide resolved
one comment about the empty item check, then lgtm /hold for #91690 |
fc73f16
to
3f10709
Compare
/retest |
1 similar comment
/retest |
I think hold can be removed since the other PR was merged. thanks, PTAL @liggitt |
/lgtm |
/retest |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: apelisse, liggitt 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 |
/retest Review the full test history for this PR. Silence the bot with an |
1 similar comment
/retest Review the full test history for this PR. Silence the bot with an |
OK I'll cherry-pick this in 1.18, 1.17 and 1.16. |
…48-kubernetes-release-1.17 Automated cherry pick of #91748: FieldManager: Reset if we receive nil or a list with one
…48-kubernetes-release-1.18 Automated cherry pick of #91748: FieldManager: Reset if we receive nil or a list with one
…48-kubernetes-release-1.16 Automated cherry pick of #91748: FieldManager: Reset if we receive nil or a list with one
Addresses two of the important issues:
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #90610
Special notes for your reviewer:
Does this PR introduce a user-facing change?: