We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 52c6029 + 45cf2ab commit a58a8f9Copy full SHA for a58a8f9
server.go
@@ -79,7 +79,7 @@ func watchNamespaces() error {
79
80
// grab credentials from where GCP would normally look
81
ctx := context.Background()
82
- creds, err := google.FindDefaultCredentials(ctx)
+ creds, err := google.FindDefaultCredentials(ctx, "https://www.googleapis.com/auth/cloud-platform")
83
if err != nil {
84
return fmt.Errorf("finding default credentials: %v", err)
85
}
0 commit comments