Merge pull request #16355 from sl1pm4t/fix-gcs-client-scope

gce: Update GCE storage service scope to DevstorageFullControlScope to resolve permission error.
This commit is contained in:
Kubernetes Prow Robot 2024-02-17 18:02:31 -08:00 committed by GitHub
commit 97328165f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ func (c *VFSContext) getGCSClient(ctx context.Context) (*storage.Service, error)
}
// TODO: Should we fall back to read-only?
scope := storage.DevstorageReadWriteScope
scope := storage.DevstorageFullControlScope
gcsClient, err := storage.NewService(ctx, option.WithScopes(scope))
if err != nil {