Closed bluemalkin closed 2 years ago
Others flags are also booleans, for example: -structured_logs
and -use_http_health_check
.
The good news is that Cloud SQL Proxy use the standard Go flag
package to parse command line options. This package parse boolean flags according these rules:
=1|t|T|true|TRUE|True
, the flag is true=0|f|F|false|FALSE|False
, the flag is falseSo, because @rimusz uses the key=value
form, we are safe and this configuration should make your day:
extraArgs:
enable_iam_login: "true"
FEATURE REQUEST: Ability to pass extraArgs without a value
Version of Helm and Kubernetes: K8s: 1.20 Helm: 3.7.1
Which chart: gcloud-sqlproxy
What happened:
-enable_iam_login
extraArgs does not have a value: https://github.com/GoogleCloudPlatform/cloudsql-proxy#-enable_iam_login Thus the chart needs to accomodate extra_args without a value and with a single dash prefix.