Skip to content

Commit

Permalink
feat: support IAM login
Browse files Browse the repository at this point in the history
  • Loading branch information
edosrecki committed Nov 11, 2022
1 parent 0c4d9fd commit e8dcf6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/kubectl/pods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const runCloudSqlProxyPod = (pod: CloudSqlProxyPod): string => {
--annotations="cluster-autoscaler.kubernetes.io/safe-to-evict=true" \
--labels=app=google-cloud-sql \
${pod.name} \
-- /cloud_sql_proxy -ip_address_types=PRIVATE -instances=${pod.instance}=tcp:${pod.remotePort}
-- /cloud_sql_proxy -enable_iam_login -ip_address_types=PRIVATE -instances=${pod.instance}=tcp:${pod.remotePort}
`)
}

Expand Down

0 comments on commit e8dcf6d

Please sign in to comment.