Skip to content

Backport c/c internal/xresource#849

Merged
negz merged 1 commit intocrossplane:mainfrom
negz:x-treme
Jun 20, 2025
Merged

Backport c/c internal/xresource#849
negz merged 1 commit intocrossplane:mainfrom
negz:x-treme

Conversation

@negz
Copy link
Member

@negz negz commented Jun 18, 2025

Description of your changes

Fixes crossplane/crossplane#6505
Closes #844

This is my attempt to address crossplane/crossplane#6505 without removing external secret store support completely - yet (see #842).

I have:

Need help with this checklist? See the cheat sheet.

Signed-off-by: Nic Cope <nicc@rk0n.org>
@negz negz marked this pull request as ready for review June 18, 2025 00:56
@negz negz requested a review from a team as a code owner June 18, 2025 00:56
@negz negz requested a review from jbw976 June 18, 2025 00:56
@negz
Copy link
Member Author

negz commented Jun 18, 2025

@phisco @jbw976 @bobh66 @turkenh - Could you prioritize reviewing this please. Mostly because if it looks good I'd like to get crossplane/crossplane#6553 merged before I suffer too many merge conflicts. :)

type Unstructured struct {
unstructured.Unstructured

Schema Schema
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, if I got this correctly, the default schema is modern, for people upgrading that would mean that if they don't explicitly set the legacy one everything will be broken in a not so obvious way. Would it make sense to switch the two?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hrm good point. I think I feel okay with this breaking change though. I imagine there's very few users of this package in practice, apart from c/c. The Go SDK for example has its own version. So I doubt anyone will break in practice.

Copy link
Contributor

@phisco phisco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one question about the breaking change, otherwise LGTM 🙏

@negz negz merged commit 0d81d3f into crossplane:main Jun 20, 2025
10 checks passed
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.

[v2] Propagate internal/xresource changes back to crossplane-runtime

2 participants