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

Validate Composition and configure XR before fetching environment #3550

Closed
wants to merge 1 commit into from

Conversation

negz
Copy link
Member

@negz negz commented Dec 28, 2022

Description of your changes

This way if our Composition is invalid or we fail to configure the XR (often using the Composition) we'll fail early without hitting the environment select/fetch logic unnecessarily.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

I haven't tested this, so I'm opening it as a draft to get feedback from folks who know the implementation better before I do. @MisterMX @ytsarev do you think this makes sense?

This way if our Composition is invalid or we fail to configure the XR
(often using the Composition) we'll fail early without hitting the
environment select/fetch logic unnecessarily.

Signed-off-by: Nic Cope <nicc@rk0n.org>
@ytsarev
Copy link
Member

ytsarev commented Jan 24, 2023

@negz sorry, I didn't manage to look into this one before. Does it mean that #3465 inherently implements the above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants