-
Notifications
You must be signed in to change notification settings - Fork 2
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
kustomize/advanced: kustomize v5 compatibility #6
Conversation
@hashbang/administrators That's blocking for (re)deploying wkd on #!, since the cluster was updated to kustomize v5. |
The bare `patches` attribute was apparently a legacy thing, which v5 attributed new meaning to; see kustomize#4911. patchesStrategicMerge should work on both v4 and v5. Closes: drGrove#5
d6a36bd
to
591cb78
Compare
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.
patchesStrategicMerge
is actually the deprecated one.
What's also deprecated is passing strings directly in patches
.
Rather it should be a dictionary.
Yeah, but doing this will break for kustomize v4. |
By request of daurnimator & dgrove. Co-authored-by: daurnimator <quae@daurnimator.com>
PS: I forgot to mention but I did test it and |
Does it? I thought the form I suggested should work back to kustomize v3.
But yeah: the only 2 versions of kustomize to worry about are latest release and whatever is included with latest |
Sorry, I think I misread the description in the linked kustomize PR at first 😅
OK, good to know. |
@drGrove Ping for merge? |
The bare
patches
attribute was apparently a legacy thing, which v5 attributed new meaning to; see kubernetes-sigs/kustomize#4911.patchesStrategicMerge
should work on both v4 and v5.