Decrease access level to read-only
Signed-off-by: avkudryashov <41747012+avkudryashov@users.noreply.github.com> Signed-off-by: Anatoly Kudriashov <kav2k13@gmail.com>
This commit is contained in:
committed by
Anatoly Kudriashov
parent
126e862ece
commit
cc27fa4a1a
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-kubernetes': patch
|
||||
---
|
||||
|
||||
Changed Gcloud auth scope to read-only
|
||||
@@ -39,7 +39,7 @@ export class GoogleKubernetesAuthProvider implements KubernetesAuthProvider {
|
||||
async getCredentials(): Promise<{ token: string }> {
|
||||
return {
|
||||
token: await this.authProvider.getAccessToken(
|
||||
'https://www.googleapis.com/auth/cloud-platform',
|
||||
'https://www.googleapis.com/auth/cloud-platform.read-only',
|
||||
),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user