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

rds.cluster: add ability to auto-generate password in referenced secret #1169

Merged
merged 9 commits into from
Mar 11, 2024

Conversation

ravibagri5
Copy link
Contributor

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:

  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Unit tests, local end-to-end test.

@Upbound-CLA
Copy link

Upbound-CLA commented Feb 22, 2024

CLA assistant check
All committers have signed the CLA.

@jeanduplessis
Copy link
Collaborator

/test-examples="examples/rds/v1beta1/cluster.yaml"

@turkenf
Copy link
Collaborator

turkenf commented Mar 8, 2024

/test-examples="examples/rds/v1beta1/cluster.yaml"

@turkenf
Copy link
Collaborator

turkenf commented Mar 8, 2024

@ravibagri5, we need this PR for Uptest to work properly, can you please rebase the PR?

@ravibagri5
Copy link
Contributor Author

@ravibagri5, we need this PR for Uptest to work properly, can you please rebase the PR?

@turkenf Sure. Thanks for the update.

@turkenf
Copy link
Collaborator

turkenf commented Mar 8, 2024

/test-examples="examples/rds/v1beta1/cluster.yaml"

Copy link
Collaborator

@turkenf turkenf left a 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.

config/rds/config.go Show resolved Hide resolved
@turkenf
Copy link
Collaborator

turkenf commented Mar 11, 2024

/test-examples="examples/rds/v1beta1/cluster.yaml"

Signed-off-by: Ravi Kumar <[email protected]>
@turkenf
Copy link
Collaborator

turkenf commented Mar 11, 2024

/test-examples="examples/rds/v1beta1/cluster.yaml"

Copy link
Collaborator

@turkenf turkenf left a 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.

@turkenf turkenf merged commit a846ef7 into crossplane-contrib:main Mar 11, 2024
10 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.

4 participants