From da8d848670ec14679d3563f01fe308824b496e43 Mon Sep 17 00:00:00 2001 From: Alexander Apalikov Date: Fri, 1 Mar 2019 15:54:12 +0300 Subject: [PATCH] Reduce oauthScopes nodePool setting for cluster Verified that we can reduce oauthScope settings with test-e2e, metrics and logs works as before. --- build/gke-test-cluster/cluster-e2e.yml | 2 -- build/gke-test-cluster/cluster.yml.jinja | 6 ------ site/content/en/docs/Installation/_index.md | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/build/gke-test-cluster/cluster-e2e.yml b/build/gke-test-cluster/cluster-e2e.yml index afb5144bfb..f071c543dd 100644 --- a/build/gke-test-cluster/cluster-e2e.yml +++ b/build/gke-test-cluster/cluster-e2e.yml @@ -30,8 +30,6 @@ resources: oauthScopes: - https://www.googleapis.com/auth/compute - https://www.googleapis.com/auth/devstorage.read_only - - https://www.googleapis.com/auth/logging.write - - https://www.googleapis.com/auth/monitoring - name: game-server-firewall type: compute.beta.firewall properties: diff --git a/build/gke-test-cluster/cluster.yml.jinja b/build/gke-test-cluster/cluster.yml.jinja index 96943a1adf..3aaef0feca 100644 --- a/build/gke-test-cluster/cluster.yml.jinja +++ b/build/gke-test-cluster/cluster.yml.jinja @@ -32,8 +32,6 @@ resources: oauthScopes: - https://www.googleapis.com/auth/compute - https://www.googleapis.com/auth/devstorage.read_only - - https://www.googleapis.com/auth/logging.write - - https://www.googleapis.com/auth/monitoring - name: "agones-system" initialNodeCount: 1 config: @@ -41,8 +39,6 @@ resources: oauthScopes: - https://www.googleapis.com/auth/compute - https://www.googleapis.com/auth/devstorage.read_only - - https://www.googleapis.com/auth/logging.write - - https://www.googleapis.com/auth/monitoring labels: stable.agones.dev/agones-system: "true" taints: @@ -56,8 +52,6 @@ resources: oauthScopes: - https://www.googleapis.com/auth/compute - https://www.googleapis.com/auth/devstorage.read_only - - https://www.googleapis.com/auth/logging.write - - https://www.googleapis.com/auth/monitoring labels: stable.agones.dev/agones-metrics: "true" taints: diff --git a/site/content/en/docs/Installation/_index.md b/site/content/en/docs/Installation/_index.md index 3452f0dc06..6e60ecc420 100644 --- a/site/content/en/docs/Installation/_index.md +++ b/site/content/en/docs/Installation/_index.md @@ -80,7 +80,7 @@ gcloud container clusters create [CLUSTER_NAME] --cluster-version=1.11 \ --tags=game-server \ --enable-basic-auth \ --password=supersecretpassword \ - --scopes=https://www.googleapis.com/auth/devstorage.read_only,compute-rw,cloud-platform \ + --scopes=gke-default \ --num-nodes=3 \ --machine-type=n1-standard-1 ```