-
Notifications
You must be signed in to change notification settings - Fork 18
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
Missing desired resources when metadata.name is missing or same for multiple resources #119
Comments
Ok i totally overlooked that one, sorry for that. A check would be good, i will try to come up with a PR. |
Yes, all targets should be supported, thank you very much for your contribution! ❤️ |
I ran into a similar issue yesterday. I was generating 2 resources, with different api/kind, but with same
Behavior wise, it would be good to have the granularity at the api/kind/name or at the very least warn the developer that a resource has been overwritten when rendering/testing. |
I've also encountered something similar to this with two different resources types and not defining a
This could also be an edification error on my part. |
What happened?
When having multiple desired resources with the same metadata.name or metadata.name is omitted, only the last resource will be returned from the function
How can we reproduce it?
Take e.g. examples/resources/network and remove metadata.name from both resources to be generated.
What environment did it happen in?
Function version: v0.9.0
The text was updated successfully, but these errors were encountered: