Composite resource error "encountered composed resource without required "crossplane.io/composition-resource-name" when not specifying any metadata.name in a resource #199
Labels
bug
Something isn't working
What happened?
In a composition, I am creating a Helm Release using the Helm provider.
There is only one resource that needs to be created (the Release object) so I am not specifying any metadata.name to let the function generate a unique name.
This is the output of
crossplane beta trace
👇and the error
-> The Managed resource is being created
-> The Composite resource is complaining about the
"crossplane.io/composition-resource-name
being missing.Indeed looking at the Labels of the composed resource
👇
When specifying a name this is the labels/annotations I get for one managed resource
But then, when setting up a name for the resources I realize this would conflict with new resources created by the same claim.
I may be missing something here. It feels like there is always a need to specify a name for each resources and thus take care of its uniqueness?
Thanks!
What environment did it happen in?
Function version: 0.10.10
The text was updated successfully, but these errors were encountered: