Regression in 5.4.0+: "Error: could not merge values: wrong node kind: expected MappingNode but got SequenceNode" #5766
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened?
When running Kustomize on 5.3.0 on a file, I am able to render the template. However, after upgrading to
5.4.0
I am getting the error:"Error: could not merge values: wrong node kind: expected MappingNode but got SequenceNode"
What did you expect to happen?
I expected the template to render as it did previously
How can we reproduce it (as minimally and precisely as possible)?
This file used to work on
5.3.0
, now it does not work on5.4.0
.Run:
kustomize build . --enable-helm
on this fileError in
5.4.0
:Expected output
Actual output
N/A - fails to render
Kustomize version
5.4.0
Operating system
Linux
The text was updated successfully, but these errors were encountered: