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
[experimental] Counter-part of #68452: make CR coercing decoder respect context from versioning decoder #68370
[experimental] Counter-part of #68452: make CR coercing decoder respect context from versioning decoder #68370
Conversation
184ec95
to
1477b46
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: yue9944882 If they are not already assigned, you can assign the PR to them by writing 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 |
/assign @roycaihw |
1477b46
to
9f97d4d
Compare
/cc @mbohlool |
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning.go
Show resolved
Hide resolved
@@ -747,6 +748,7 @@ func (d schemaCoercingDecoder) Decode(data []byte, defaults *schema.GroupVersion | |||
} | |||
} | |||
|
|||
obj = obj.DeepCopyObject() |
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.
9f97d4d
to
94aa9cc
Compare
fixed by #70087 /close |
@yue9944882: Closing this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/hold
it's an experiment for the versioning decoder for #68197. (at least for now)
also, it tries to the bug uncovered by #68035
counter-part of #68452
Release note: