diff --git a/docs/schema.md b/docs/schema.md index 63e2dc87..abd3c27c 100644 --- a/docs/schema.md +++ b/docs/schema.md @@ -711,6 +711,28 @@ indicates whether Istio is enabled on the cluster. - `REQUIRED`: The app requires Istio to work properly. - `UNSUPPORTED`: The app does not support Istio. +--- + +### gcp + +Use this property to indicate GCP-specific app requirements. + +You can can specify [OAuth scopes](https://developers.google.com/identity/protocols/googlescopes) +required by your application. The UI requires existing clusters to have the +specified scopes in order to be selected, and also includes the specified +scopes in cluster creation. Note that the "https://www.googleapis.com/auth/devstorage.read_only" +(or other storage-reading scope) is required by default for pulling images +from GCR. + +```yaml +x-google-marketplace: + clusterConstraints: + gcp: + nodes: + requiredOauthScopes: + - https://www.googleapis.com/auth/cloud-platform.read-only +``` + ## form ### help widget