Verified Commit a3833666 authored by Philip Graf's avatar Philip Graf
Browse files

feat: make cloud sql instance id configurable

parent e037e835
Pipeline #108325 passed with stage
in 10 seconds
......@@ -79,7 +79,7 @@ image:
command: ["/bin/sh", "-c"]
- |
/cloud_sql_proxy -instances={{ .Values.cloudsql.projectId}}:{{ .Values.cloudsql.region}}:{{ .Release.Namespace }}=tcp:5432 -credential_file=/secrets/cloudsql/credentials.json &
/cloud_sql_proxy -instances={{ .Values.cloudsql.projectId}}:{{ .Values.cloudsql.region}}:{{ default .Release.Namespace .Values.cloudsql.instanceId }}=tcp:5432 -credential_file=/secrets/cloudsql/credentials.json &
(while true; do if [[ -f "/tmp/pod/main-terminated" ]]; then kill $CHILD_PID; fi; sleep 1; done) &
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment