-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Strategic Merge Patch Silently Converts Overriding Value Type to Match Original Type of Value Getting Overriden #3286
Comments
I suspect this is caused by a lot of conversions among Json/Yaml/Go struct. The type information is lost. Hopefully we can avoid this after #2506 and remove all these intermediate conversions. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Rotten issues close after 30d of inactivity. Send feedback to sig-contributor-experience at kubernetes/community. |
@fejta-bot: Closing this issue. 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. |
Files that can reproduce the issue
patch.yml:
source.yml:
kustomization.yaml:
In the directory with those files, run: kustomize build .
Expected output
Either:
Actual output
Kustomize version
3.8.4 and 3.8.7.
The problem was not observable in 3.6.x, it got introduced later.
Platform
Linux
The text was updated successfully, but these errors were encountered: