crossplane-contrib / crossplane-contrib/provider-sql

MySQL: Support adoption of existing MySQL users when passwordSecretRef is not specified

Open
#395 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
154
Forks
119
Avg merge
6d 17h
Merged PRs (30d)
8

Description

### What problem are you facing?
When a `User` is created for a user that already exists in the database and `spec.forProvider.passwordSecretRef` is not specified, provider-sql does not rotate the password and `writeConnectionSecretToRef` ends up empty.

### How could Crossplane help solve your problem?
If `passwordSecretRef` is not specified and the user already exists in the database, provider-sql could automatically generate a new password, update it in the database, and store the generated credentials in writeConnectionSecretToRef.

If this sounds reasonable, I can work on implementing it and open a PR.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.