[ ] Run make reviewable test to ensure this PR is ready for review.
How has this code been tested
Unit tests are fixed with the latest change.
Manual integration tests to use the controller to provision a Redis instance with different parameters and updating specs are executed.
Description of your changes
This PR fixed the deprecated AliCloud Redis provisioning. It also provides various new features supported from AliCloud Redis including:
Fixed duplicated provisioning due to old version of crossplane runtime
Support of appending whitelist IPs after instance provisioning
Improve initial user creation with default instance id
Support of modifying instance spec in update
Support of modifying instance config in update
Support of Cluster, stand-alone, and read-split Redis instance provisioning
[x] 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
Unit tests are fixed with the latest change. Manual integration tests to use the controller to provision a Redis instance with different parameters and updating specs are executed.