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

fix missing ToConnectionSecretKey in conversion #204

Conversation

ravilr
Copy link
Contributor

@ravilr ravilr commented Feb 24, 2024

Description of your changes

  • Updates Migrate to XP ManagementPolicies #163
    the conversion webhook added in above missed handling of spec.connectionDetails[].toConnectionSecretKey resulting in those fields getting dropped during conversion.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

  • make test and make e2e
  • Also added an example deprecated v1alpha1.Object resource with spec.connectionDetails and tested locally that conversion is lossless.

Signed-off-by: ravilr <raviprasad_lr@yahoo.com>
@ravilr
Copy link
Contributor Author

ravilr commented Feb 24, 2024

@lsviben PTAL 🙏
Also requesting this to be backported into a 0.12.x patch release.

Copy link
Collaborator

@lsviben lsviben left a comment

Choose a reason for hiding this comment

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

Thanks @ravilr for catching this bug! We will backport it to v0.11 and v0.12

@lsviben lsviben merged commit 47afbb7 into crossplane-contrib:main Feb 26, 2024
8 checks passed
Copy link

Successfully created backport PR #206 for release-0.11.

Copy link

Successfully created backport PR #207 for release-0.12.

@ravilr ravilr deleted the conversion_missing_toConnectionSecretKey branch February 26, 2024 18:59
@lsviben
Copy link
Collaborator

lsviben commented Feb 26, 2024

Released v0.12.1!

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

Successfully merging this pull request may close these issues.

None yet

2 participants