Skip to content

Commit 094bbd9

Browse files
chore: build dist get-gke-credentials (#18)
1 parent d87982e commit 094bbd9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dist/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2480,7 +2480,10 @@ class ClusterClient {
24802480
// This method looks for the GCLOUD_PROJECT and GOOGLE_APPLICATION_CREDENTIALS
24812481
// environment variables.
24822482
this.auth = new google_auth_library_1.GoogleAuth({
2483-
scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2483+
scopes: [
2484+
'https://www.googleapis.com/auth/cloud-platform',
2485+
'https://www.googleapis.com/auth/userinfo.email',
2486+
],
24842487
});
24852488
// Set credentials, if any.
24862489
let jsonContent;

0 commit comments

Comments
 (0)