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

Update handling of Elasticache versions #1374

Merged
merged 3 commits into from
Jun 30, 2022

Conversation

stevendborrelli
Copy link
Contributor

@stevendborrelli stevendborrelli commented Jun 29, 2022

Description of your changes

Starting with the 6.x version of Redis clusters, Elasticache now only uses the first 2 digits or a wildcard to specify the engine version. (i.e., 6.2, or 6.x to generate a 6.2.6 cluster). See redis-version-6.0.

This PR updates the Engineversion check to match the API behavior.

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

Created a replication group using the examples/cache/replicationGroup.yaml

with versions:

  • 6.2
  • 6.x

And ensured the cluster was created and did not enter an UpdateRequired loop.

Signed-off-by: Steven Borrelli <[email protected]>
Signed-off-by: Steven Borrelli <[email protected]>
Signed-off-by: Steven Borrelli <[email protected]>
Copy link
Member

@haarchri haarchri left a comment

Choose a reason for hiding this comment

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

LGTM

@haarchri haarchri merged commit 62a065a into crossplane-contrib:master Jun 30, 2022
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