You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…1.Compositions
- FromUnstructured may fail on v1.Compositions due to:
kubernetes-sigs/structured-merge-diff#230
Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
Crossplane's v1.MapTransform type has an inlined map and using the runtime.DefaultUnstructuredConverter.FromUnstructured to convert a
map[string]interface{}
into a v1.Composition (which embodies av1.MapTransform
results in a panic:Looks like we are not checking the inlined field's kind before making a recursive call here.
The text was updated successfully, but these errors were encountered: