-
Notifications
You must be signed in to change notification settings - Fork 77
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
feat(redis): add Redis Cluster support #623
feat(redis): add Redis Cluster support #623
Conversation
/test-examples="examples/redis/v1beta1/cluster.yaml" |
5f5a53b
to
e293445
Compare
/test-examples="examples/redis/v1beta1/cluster.yaml" |
a8884e1
to
9ebbb41
Compare
@jeanduplessis Could I get a final (hopefully) /test-example... on this 🙏🏻 |
/test-examples="examples/redis/v1beta1/cluster.yaml" |
Fails because of missing prerequisite Service Connection Policy. Which I started on in #624 but Upjet fails to correctly generate a
|
Depends on #624 |
9ebbb41
to
6079c23
Compare
This adds support for google_redis_cluster Terraform resource, see https://registry.terraform.io/providers/hashicorp/google/5.39.1/docs/resources/redis_cluster Signed-off-by: Rickard von Essen <rickard.von.essen@gmail.com>
6079c23
to
793ee09
Compare
@rickard-von-essen, now that you are a contributor, you can trigger uptests. |
Awesome! All work on getting this sorted tomorrow. |
/test-examples="examples/redis/v1beta1/cluster.yaml" |
I think this is ready for review now that all tests passes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @rickard-von-essen, I left two comments about AdditionalConnectionDetailsFn
for you to consider.
Signed-off-by: Rickard von Essen <rickard.von.essen@gmail.com>
/test-examples="examples/redis/v1beta1/cluster.yaml" |
1 similar comment
/test-examples="examples/redis/v1beta1/cluster.yaml" |
Signed-off-by: Rickard von Essen <rickard.von.essen@gmail.com>
b3216fa
to
e8f9838
Compare
/test-examples="examples/redis/v1beta1/cluster.yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @rickard-von-essen, LGTM 🙌
Description of your changes
This adds support for
google_redis_cluster
Terraform resource, see Terraform - Google - redis_cluster.Replaces #513
I have:
make reviewable
to ensure this PR is ready for review.backport release-x.y
labels to auto-backport this PR if necessary. N/AHow has this code been tested
I have tested, create, import, update, and delete of a Memorystore Redis Cluster. And also verified that the
AdditionalConnectionDetailsFn
functions.One odd thing is that
examples-generated/redis/v1beta1/cluster.yaml
contains:But it has to be changed to:
Otherwise the apply fails.