From bc4ae198efceb58d60238aca03a95e6afa493beb Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 28 Nov 2024 13:50:40 +0100 Subject: [PATCH] chore: update changeset and implementation Signed-off-by: blam --- .changeset/pink-pets-jump.md | 2 +- .../src/entrypoints/database/DatabaseManager.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.changeset/pink-pets-jump.md b/.changeset/pink-pets-jump.md index eb01eb27e1..d9bb97e36e 100644 --- a/.changeset/pink-pets-jump.md +++ b/.changeset/pink-pets-jump.md @@ -2,4 +2,4 @@ '@backstage/backend-defaults': patch --- -Support `client: pg+google-cloudsql` in database client for usage with `@google-cloud/cloud-sql-connector` and `iam` auth +Support `connection.type: cloudsql` in database client for usage with `@google-cloud/cloud-sql-connector` and `iam` auth diff --git a/packages/backend-defaults/src/entrypoints/database/DatabaseManager.ts b/packages/backend-defaults/src/entrypoints/database/DatabaseManager.ts index d94b462794..75e7d35eee 100644 --- a/packages/backend-defaults/src/entrypoints/database/DatabaseManager.ts +++ b/packages/backend-defaults/src/entrypoints/database/DatabaseManager.ts @@ -252,7 +252,6 @@ export class DatabaseManager { databaseConfig, { pg: new PgConnector(databaseConfig, prefix), - 'pg+google-cloudsql': new PgConnector(databaseConfig, prefix), sqlite3: new Sqlite3Connector(databaseConfig), 'better-sqlite3': new Sqlite3Connector(databaseConfig), mysql: new MysqlConnector(databaseConfig, prefix),