Unexpected result when combining AnnotationsTransformer with ValueAddTransformer #5794
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 am trying to use a kustomize transformer to set a default severity for PrometheusRules and then override this default severity using additional transformers for specific alerts. However, when combining these transformers I get an unexpected result compared to when they are applied individually
What did you expect to happen?
I'd expect each transformer to apply independently so that they can be combined
How can we reproduce it (as minimally and precisely as possible)?
Expected output
Actual output
Confusingly, each transformer works as expected when applied individually (e.g. commenting them out in turn they work correctly)
Kustomize version
v5.5.0
Operating system
MacOS
The text was updated successfully, but these errors were encountered: