Skip to content

Fix Elasticache ReplicationGroup conversion from v1beta2 to v1beta1 - #1847

Merged
erhancagirici merged 2 commits into
crossplane-contrib:mainfrom
walt-grata:fix-conversion-redis
Aug 29, 2025
Merged

Fix Elasticache ReplicationGroup conversion from v1beta2 to v1beta1#1847
erhancagirici merged 2 commits into
crossplane-contrib:mainfrom
walt-grata:fix-conversion-redis

Conversation

@walt-grata

@walt-grata walt-grata commented Aug 25, 2025

Copy link
Copy Markdown
Contributor

Description of your changes

This fixes a bug in the conversion webhook for ClusterMode where it failed to convert from v1beta2 to v1beta1. This fixes the error and adds some tests to ensure the fix is correct.

Fixes #

I have:

  • Read and followed Crossplane's contribution process.
  • Run make generate and committed the results (ideally in a separate commit).
  • Not made any manual changes to generated files, and verified this with make check-diff.

How has this code been tested

@erhancagirici

Copy link
Copy Markdown
Collaborator

@walt-grata thanks for the fix! Looks like your commit is not signed-off and failing the DCO check. Could you rebase, sign-off and push again?

@walt-grata
walt-grata force-pushed the fix-conversion-redis branch from 4f45159 to dcd6d2a Compare August 25, 2025 21:23
@walt-grata

Copy link
Copy Markdown
Contributor Author

@erhancagirici updated

@walt-grata
walt-grata force-pushed the fix-conversion-redis branch from dcd6d2a to a29fb48 Compare August 26, 2025 13:35
@walt-grata walt-grata changed the title Fixing Redit ReplicationGroup conversion from v1beta2 to v1beta1 Fixing Redis ReplicationGroup conversion from v1beta2 to v1beta1 Aug 26, 2025
@walt-grata
walt-grata force-pushed the fix-conversion-redis branch from 790fcd1 to 581d7e9 Compare August 27, 2025 22:32
Signed-off-by: Walt Grata <walt.grata@upbound.io>
Signed-off-by: Walt Grata <walt.grata@upbound.io>
@walt-grata
walt-grata force-pushed the fix-conversion-redis branch from 21cec23 to b8e6424 Compare August 28, 2025 14:41

@erhancagirici erhancagirici left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Many thanks for the fix! LGTM

@erhancagirici erhancagirici changed the title Fixing Redis ReplicationGroup conversion from v1beta2 to v1beta1 Fix Elasticache ReplicationGroup conversion from v1beta2 to v1beta1 Aug 29, 2025
@erhancagirici
erhancagirici merged commit 98ef62e into crossplane-contrib:main Aug 29, 2025
8 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.

3 participants