Kustomize patches overwritten by namespace #5626
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?
We would like to patch a
rolebinding.yaml
with kustomize. The namespace must be set in the meta information and the namespace must be patched in the subjcts area, as the service account can be in a different namespace.With the old
patchesJson6902
it works.What did you expect to happen?
cI expect the namespace to be in the meta information and the namespace we want to batch in the subject.
How can we reproduce it (as minimally and precisely as possible)?
patches
failspatchesJson6902
worksExpected output
Actual output
patches
failspatchesJson6902
worksKustomize version
4.5.4 & 5.3.0
Operating system
Linux
The text was updated successfully, but these errors were encountered: