-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent transformer behavior on configMapGenerator when used via components vs not #5060
Comments
This happens to me as well when using the helm chart generator and patches. I think in general the manifest does not yet contain the resources when the transformer executes. I was curious if there was a way to re-order them or ask for a refresh or something. @alexlatchford BTW, you can test this if you move the
|
It is in fact expected behaviour, and it is due to the order in which Kustomize fields are processed: first /triage out-of-scope |
@KnVerey: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Thanks for turning on the lights here @KnVerey, totally makes sense! |
What happened?
Labels and annotations set from components do not apply to
ConfigMap
resources created byconfigMapGenerator
, but do apply to other resources.What did you expect to happen?
The labels and annotations from components would apply to
ConfigMap
resources created byconfigMapGenerator
.How can we reproduce it (as minimally and precisely as possible)?
Expected output
Actual output
Kustomize version
v5.0.0
Operating system
MacOS
Obviously a very minor bug (if you can even call it that, maybe this is just expected behavior) for a very niche scenario but wondered whether I'd missed something about resolution order here in the docs.
The text was updated successfully, but these errors were encountered: