Skip to content

Lack of support for nested XR #51

@piotrkorlaga

Description

@piotrkorlaga

Thank you very much for the effort you put into developing this project. We really miss this in the crossplane ecosystem. It looks amazing, but I encounter one issue.

What problem are you facing?

Lack of support for nested XR.

How could Crossplane help solve your problem?

I encounter an issue when my composition creates a nested XR. In this case, I'm getting an error from https://github.com/crossplane-contrib/function-kcl

2025-09-22T11:14:48+02:00       DEBUG   Processing complete     {"resourceCount": 1, "totalDiffs": 0, "errorCount": 1}
crossplane-diff: error: unable to process one or more resources: unable to process resource xBackoffice/[redacted]: cannot render resources with requirements: pipeline step "create-transit-gateway-main" returned a fatal result: failed to run kcl function pipelines: EvaluationError
                          --> [redacted]
                           |
                        27 |     kind: "xTransitGateway" = "xTransitGateway"
                           |  expect "xTransitGateway", got str

Is the tool supposed to support nested XRs at this stage?

Metadata

Metadata

Assignees

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