Missing objects in kustomize build output #5665
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?
Colleague of mine is introducing some new CRDs & controllers .... and found about some edge case.
His new objects are named like
SomethingAccessList
.They are missing from kustomize build outputs.
Hint: probably this: https://github.com/kubernetes-sigs/kustomize/blob/master/api/resource/factory.go#L193
Arguably ... yes, those "List" "usually" relates to the "listKind" we would find on custom resources definitions, ... eg:
Still I'm not aware of any rule preventing usage of such a suffix, actually naming objects ....
.. and as far as I see: refactoring that snippet as an helm Chart: helm is able to produce the expected output.
Then that's a bug?
What did you expect to happen?
objects showing in stdout, when I "kustomize build ."
How can we reproduce it (as minimally and precisely as possible)?
Expected output
Actual output
no output given. kustomize build exits with 0.
Kustomize version
5.4.0
Operating system
None
The text was updated successfully, but these errors were encountered: