Unable to remove last authorizedNetworks
for CloudSQLInstance
#410
Labels
bug
Something isn't working
authorizedNetworks
for CloudSQLInstance
#410
What happened?
When managing CloudSQL instances with Crossplane, we can set multiple different
authorizedNetworks
to allow for public access to the instance.Adding new CIDR ranges and removing old ranges seems to work as expected. This bug surfaces when removing the last
authorizedNetwork
from the list. When we do this, Crossplane chooses to import the existingauthorizedNetwork
from GCP instead of deleting it.How can we reproduce it?
CloudSQLInstance
authorizedNetwork
from listauthorizedNetwork
from GCPWhat environment did it happen in?
crossplane/crossplane:v1.5.0
crossplane/provider-gcp-controller:v0.19.0
v1.20.10-gke.1600
The text was updated successfully, but these errors were encountered: