Skip to content

Composition function example shows modifications to composite metadata which are not supported #932

Open
@bobh66

Description

@bobh66

URL

https://docs.crossplane.io/latest/guides/function-patch-and-transform/#patch-a-composite-resource

What's Wrong?

The example shows a ToCompositeFieldPath patch using the composite metadata.labels for the path. This does not work in function-patch-and-transform since the function can only modify the composite status fields. The example should be modified to point at the composite status instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions