File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ type CloudSqlProxyPod = {
1414export const runCloudSqlProxyPod = ( pod : CloudSqlProxyPod ) : string => {
1515 return execCommand ( `
1616 kubectl run \
17- --image=gcr.io/cloudsql-docker/gce -proxy \
17+ --image=gcr.io/cloud-sql-connectors/cloud-sql -proxy \
1818 --context="${ pod . context } " \
1919 --namespace="${ pod . namespace } " \
2020 --overrides='{"spec": {"serviceAccount": "${ pod . serviceAccount } "}}' \
2121 --annotations="cluster-autoscaler.kubernetes.io/safe-to-evict=true" \
2222 --labels=app=google-cloud-sql \
2323 ${ pod . name } \
24- -- /cloud_sql_proxy -enable_iam_login -ip_address_types=PRIVATE -instances= ${ pod . instance } =tcp: ${ pod . remotePort }
24+ -- --auto-iam-authn --auto-ip ' ${ pod . instance } ?port= ${ pod . remotePort } '
2525 ` )
2626}
2727
You can’t perform that action at this time.
0 commit comments