I have a docker image of Apache Superset running in Google Cloud Run. I have configured it to use our Cloud SQL host for its metadata DB. Due to how you connect Cloud Run to Cloud SQL, this required using the unix socket style connection string in SQL Alchemy to get it to connect ( as per the instructions here.). Postgres is the DB in use (although I doubt that matters).
I was pretty happy with myself (as my Docker/Cloud Run knowledge is low), and it was running well - but then I went to add some data sources. Of course the config dialog for DB connection information ONLY allows you to enter a host and IP:
It is very disappointing to get this far and be blocked by a UI limitation. The host I want to connect to is THE SAME HOST that it is using for its metadata DB - so clearly it CAN connect to it. ...I just have no way to express to it how to connect to it.
Is there anything I can do to configure Superset with unix socket connection string for the target DBs for data sources (not metadata, which already works)?
I see it even allows me to provide additional parameters which is where you specify the unix socket - but since host IP and port are required fields and it tests against them, it won't accept it.
I want to avoid the additional cost of a VPC (and I have no idea how to set one up as I am not an admin and anything happening outside of an IDE gives me PTSD).
If I can't sort it out I'll have to deploy it to our K8s cluster which we are trying to replace with serverless options (Cloud Run, GAE, etc).