From c8b7a221426bef0f6e512093be20ca242909fd9d Mon Sep 17 00:00:00 2001 From: Raghunandan Balachandran Date: Tue, 12 Aug 2025 09:55:24 +0200 Subject: [PATCH] remove explicit scopes Signed-off-by: Raghunandan Balachandran --- .../src/providers/GkeEntityProvider.test.ts | 1 - .../src/providers/GkeEntityProvider.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/plugins/catalog-backend-module-gcp/src/providers/GkeEntityProvider.test.ts b/plugins/catalog-backend-module-gcp/src/providers/GkeEntityProvider.test.ts index 493a303970..a7d0d7d066 100644 --- a/plugins/catalog-backend-module-gcp/src/providers/GkeEntityProvider.test.ts +++ b/plugins/catalog-backend-module-gcp/src/providers/GkeEntityProvider.test.ts @@ -306,7 +306,6 @@ describe('GkeEntityProvider', () => { expect(MockedClusterManagerClient).toHaveBeenCalledWith({ credentials: mockCredentials, - scopes: ['https://www.googleapis.com/auth/container.readonly'], }); }); diff --git a/plugins/catalog-backend-module-gcp/src/providers/GkeEntityProvider.ts b/plugins/catalog-backend-module-gcp/src/providers/GkeEntityProvider.ts index dbaab2654b..bde0c7fc12 100644 --- a/plugins/catalog-backend-module-gcp/src/providers/GkeEntityProvider.ts +++ b/plugins/catalog-backend-module-gcp/src/providers/GkeEntityProvider.ts @@ -90,7 +90,6 @@ export class GkeEntityProvider implements EntityProvider { const credentialsObject = JSON.parse(credentials); clusterManagerClient = new container.v1.ClusterManagerClient({ credentials: credentialsObject, - scopes: ['https://www.googleapis.com/auth/container.readonly'], }); } catch (error) { throw new Error(