Skip to content

Update README and examples for v2 connection details behavior#530

Merged
jbw976 merged 1 commit intocrossplane-contrib:mainfrom
jbw976:v2-conn-deets
Jan 7, 2026
Merged

Update README and examples for v2 connection details behavior#530
jbw976 merged 1 commit intocrossplane-contrib:mainfrom
jbw976:v2-conn-deets

Conversation

@jbw976
Copy link
Copy Markdown
Member

@jbw976 jbw976 commented Jan 6, 2026

Description of your changes

This PR updates the README and yaml example manifests for how connection details work in crossplane v2.

The CompositeConnectionDetails special type is only useful for legacy v1 XRs.

For modern v2 XRs, it is recommended to compose a Secret object as shown in https://docs.crossplane.io/latest/guides/connection-details-composition/.

Part of crossplane/docs#1001

I have:

Signed-off-by: Jared Watts <jbw976@gmail.com>
Copy link
Copy Markdown
Collaborator

@bobh66 bobh66 left a comment

Choose a reason for hiding this comment

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

My only concern is that with this change none of the examples include the v1 CompositeConnectionDetails, which is probably fine since it's still documented and a pretty simple API.

@jbw976
Copy link
Copy Markdown
Member Author

jbw976 commented Jan 7, 2026

Thanks for taking a look @bobh66! yep i think i agree with that assessment - it's simple and it's shown and explained in the README.

I like the examples all being updated to using the modern approach of composing a secret to avoid chances of folks using the examples and them silently not working on v2, which is the mainline path these days.

@jbw976 jbw976 merged commit f66f7f6 into crossplane-contrib:main Jan 7, 2026
6 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.

2 participants