Skip to content

Set the Ready condition on the composite #153

@stefnans

Description

@stefnans

What problem are you facing?

Thanks to crossplane/crossplane#6021, we can now explicitly set the ready condition of the composite resource. It would be useful to be able to set this ready condition for the composite resource with function-go-templating (unless there's already a way to do it that I'm missing?).

How could this Function help solve your problem?

I was thinking we could have a similar annotation to gotemplating.fn.crossplane.io/ready: "True", but for composite resources as well. This means having in the template a metadata section for the composite (which can be confusing since we are not supposed to manipulate the metadata and spec section of the composite resource) that will be removed after the render like we do for composed resources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions