-
Notifications
You must be signed in to change notification settings - Fork 443
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
Enhancement: use "patches" instead of "patchesStrategicMerge" #941
Comments
Thanks for the bug description @jfavellar90. Transitioning from "patchesStrategicMerge" to "patches" is going to be a breaking change, so we should make that change in Quince. |
Solved by #947. Thank you Jhony! |
@regisb Unfortunately we'll need to revert #947. An issue in Kustomize prevents having multiple patches in the same file. For instance, in the pod-autoscaling plugin, there are multiple patches in the override.yml file separated by |
Thanks for the detailed explanation @jfavellar90! I'll mark the issue as "blocked" until Kustomize 5.2.1 is the new default. |
Is your feature request related to a problem? Please describe.
It is not related to a problem, but a functionality limitation. PatchesStrategicMerge (used here ) is going to be deprecated in future releases of the Kustomization API and can be easily replaced by the patches key. It is more powerful and allows defining different patch types (including PatchesStrategicMerge). It works for the Kustomization API version currently used by Tutor, from Kubectl 1.24 and upwards (See the Kubectl-Kustomize version equivalence here ).
Describe the solution you'd like
The set of changes is pretty straightforward, please see this commit to take a closer look
The text was updated successfully, but these errors were encountered: