rimusz / charts

Helm Charts for Kubernetes
MIT License
90 stars 70 forks source link

[gcloud-sqlproxy] add support for PRIVATE IPs #122

Closed rh-voice closed 2 years ago

rh-voice commented 2 years ago

FEATURE REQUEST: add support for PRIAVTE IPs

Which chart: gcloud-sqlproxy

What happened: I needed the connect to the CloudSQL via private IP; so I modified the command for the container to:

/cloud_sql_proxy                                                                                                                                                                     
       --dir=/cloudsql                                                                                                                                                                      
       -instances= XXXXXXX,
       -ip_address_types=PRIVATE

But it would be nice to get this from the values file

kipit commented 2 years ago

You may use extraArgs to solve your issue:

extraArgs:
  ip_address_types: PRIVATE
rh-voice commented 2 years ago

SOLVED; thanks @kipit

makarov-roman commented 11 months ago

also works with

extraFlags:
  - private-ip