GoogleCloudPlatform / kube-jenkins-imager

Apache License 2.0
258 stars 82 forks source link

Cluster Scopes #13

Closed znorris closed 8 years ago

znorris commented 8 years ago

https://www.googleapis.com/auth/projecthosting is not listed as an available scope. Should this be replaced?

https://github.com/GoogleCloudPlatform/kube-jenkins-imager/blob/master/cluster_up.sh#L43

evandbrown commented 8 years ago

That list of available scopes is actually the list of available short aliases. projecthosting doesn't have an alias so it's not in that list, but is a valid scope.

In this case, the projecthosting scope is required to grant Jenkins access to the project's Cloud Source Repository. If you're not using Cloud Repos, you can definitely remove that scope.

znorris commented 8 years ago

:+1: Got it. I wondered as much but I had a hard time finding documentation on it. Is there a more definitive listing than this?