feat(cloudsql): support GCP workload identity auth - #4718
Conversation
🔄 Flaky Test DetectedAnalysis: All 5 failures on the single failing matrix leg are identical 60-second wall-clock timeouts ( ✅ Automatically retrying the workflow |
🔄 Flaky Test DetectedAnalysis: Three unrelated e2e tests (MySQL→ClickHouse and Postgres) all hit 60s WaitFor timeouts within the same ~90-second window on only one of three matrix legs, while the PR itself only adds GCP workload-identity auth for CloudSQL — a shared CI infrastructure stall, not a code defect. ✅ Automatically retrying the workflow |
Problem
Cloud SQL-backed PostgreSQL and MySQL peers currently require static database passwords. ClickPipes needs to authenticate with short-lived IAM database login tokens minted through the tenant GSA workload-identity chain.
Linear: https://linear.app/clickhouse/issue/CLP-959/cloud-sql-source-workload-identity-iam-auth
Solution
sqlservice.logintoken for each ordinary, replication, and binlog connection.Testing
connectors/utils,connectors/bigquery,connectors/postgres,connectors/mysql, andinternal.golangci-lintpassed with 0 issues.git diff --checkpassed.Risks and follow-up
mysql_clear_passwordover verified TLS.flow-api-clientversion for the dependent clickpipes-platform PR.