remove explicit scopes

Signed-off-by: Raghunandan Balachandran <raghunandan@spotify.com>
This commit is contained in:
Raghunandan Balachandran
2025-08-12 09:55:24 +02:00
parent 261199e9fc
commit c8b7a22142
2 changed files with 0 additions and 2 deletions
@@ -306,7 +306,6 @@ describe('GkeEntityProvider', () => {
expect(MockedClusterManagerClient).toHaveBeenCalledWith({
credentials: mockCredentials,
scopes: ['https://www.googleapis.com/auth/container.readonly'],
});
});
@@ -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(