patches does not update metadata.name properly #5662
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 using the following structure:
|-Base
| |-----CRB
| |
| | clusterrolebinding.yaml
|-Overlays
| |-----CRB
| |
| | crb-patches.yaml
and in the patches file I specify another name than the metadata.name in the patches file the name doesn't change.
What did you expect to happen?
When building the file in "dry run" or when applying the built manifest with the customization patches to be applied with the new name that what modified from the patches file.
How can we reproduce it (as minimally and precisely as possible)?
Expected output
Actual output
Kustomize version
5.4.1
Operating system
Windows
The text was updated successfully, but these errors were encountered: