-
Notifications
You must be signed in to change notification settings - Fork 132
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
rds.cluster: add ability to auto-generate password in referenced secret #1169
Conversation
Signed-off-by: Ravi Bagri <[email protected]>
Signed-off-by: Ravi Bagri <[email protected]>
Signed-off-by: Ravi Bagri <[email protected]>
/test-examples="examples/rds/v1beta1/cluster.yaml" |
Signed-off-by: Ravi Kumar <[email protected]>
Signed-off-by: Ravi Kumar <[email protected]>
/test-examples="examples/rds/v1beta1/cluster.yaml" |
@ravibagri5, we need this PR for Uptest to work properly, can you please rebase the PR? |
@turkenf Sure. Thanks for the update. |
/test-examples="examples/rds/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.
Many thanks for your efforts in this PR @ravibagri5, left a small comment for you to consider.
Signed-off-by: Ravi Kumar <[email protected]>
/test-examples="examples/rds/v1beta1/cluster.yaml" |
Signed-off-by: Ravi Kumar <[email protected]>
/test-examples="examples/rds/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 @ravibagri5, LGTM.
Description of your changes
Adds the ability to auto-generate password for the rds cluster. This was already added for the RDS instance in the PR #628. Users need to opt-in by setting autoGeneratePassword as true while creating RDS cluster and should have a Secret reference. It will create if the referenced Secret does not exist and it will populate if it doesn't have the password for the given key.
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
Unit tests, local end-to-end test.