magda-io / magda

A federated, open-source data catalog for all your big data and small data
https://magda.io
Apache License 2.0
508 stars 93 forks source link

#3473: Allow to specify service account for cloud sql proxy pod #3474

Closed t83714 closed 1 year ago

t83714 commented 1 year ago

What this PR does

Fixes:

Checklist

t83714 commented 1 year ago

tested in ai4m cluster. example config:

    cloud-sql-proxy:
      serviceAccountName: xxxxxx
      enableIamLogin: true
      ipAddressTypes: PRIVATE
      instanceConnectionName: xxxxxxxx

ipAddressTypes: PRIVATE is required for the cloud SQL instance with private IP only

t83714 commented 1 year ago

also tested in catalog manager dev site for connect to cloud SQL using JSON key