Patches not applied when target.namespace is specified #5796
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?
I'm learning Flux, so I'm not sure if this is a Flux or a Kustomize behaviour issue (or a "me" issue :-). I'm deploying the
podinfo
example and trying to patch theHorizontalPodAutoscaler
.If I don't specify
namespace
in Flux's Kustomizationspec.patches.target
, the patch works. If I do specify it, it's not applied and there is no error message. Even if I specify a non-existent namespace, there is no error message.What did you expect to happen?
The patch to be applied when
target.namespace
is specified.How can we reproduce it (as minimally and precisely as possible)?
Expected output
Actual output
Kustomize version
5.4 (using Flux 2.4.0)
Operating system
Linux
The text was updated successfully, but these errors were encountered: