Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crossplane render with 3 sequences not rendering all resources #36

Open
FACOLOMBANI opened this issue Dec 6, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@FACOLOMBANI
Copy link

What happened?

I have 3 sequences as described below, component2 depends on component1 and the rest of components depend on component2.

        rules:
          - sequence:
              - component1
              - component2
              - component3
          - sequence:
              - component1
              - component2
              - component4
          - sequence:
              - component1
              - component2
              - component5

When running crossplane render it only renders xr and component1. and when i check the observed resources after component1 i have repetitions of

apiVersion: render.crossplane.io/v1beta1
kind: Result
message: Delaying creation of resource "component3" because "component1" is not ready or does not exist yet
severity: SEVERITY_NORMAL
step: sequence-creation
---
apiVersion: render.crossplane.io/v1beta1
kind: Result
message: Delaying creation of resource "component4" because "component1" is not ready or does not exist yet
severity: SEVERITY_NORMAL
step: sequence-creation
---
apiVersion: render.crossplane.io/v1beta1
kind: Result
message: Delaying creation of resource "component5" because "component1" is not ready or does not exist yet
severity: SEVERITY_NORMAL
step: sequence-creation

How can we reproduce it?

I am following your examples, what i don't have is the conditions part because my provider does not set at one status as ready, and i cannot set the forProvider section with conditions

What environment did it happen in?

local environment
Function version: 0.2.1
crossplane version: v0.18.0
kubernetes version: v1.31.0
OS: mac m1 pro
Kernel: Darwin Kernet Version 24.1.0

@FACOLOMBANI FACOLOMBANI added the bug Something isn't working label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant