[MKP] Deployment should not use CloudSQL if the DB connection fields are empty
Currently if you mark the "managed storage" checkbox and click Deploy without filling the CloudSQL fields you get a broken deployment:
2020-05-20T07:39:51.406651156Z 2020/05/20 07:39:51 New connection for ""
2020-05-20T07:39:51.406679592Z 2020/05/20 07:39:51 Throttling refreshCfg(): it was only called 3.51263ms ago
2020-05-20T07:39:51.406686650Z 2020/05/20 07:39:51 couldn't connect to "": ensure that the account has access to "" (and make sure there's no typo in that name). Error during createEphemeral for : googleapi: Error 403: Cloud SQL Admin API has not been used in project 640001104961 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/sqladmin.googleapis.com/overview?project=640001104961 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry., accessNotConfigured
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it.
/rozen
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it.