Skip to content

Commit

Permalink
Reduce oauthScopes nodePool setting for cluster
Browse files Browse the repository at this point in the history
Verified that we can reduce oauthScope settings with test-e2e, metrics
and logs works as before.
  • Loading branch information
aLekSer committed Mar 1, 2019
1 parent 94c13e3 commit da8d848
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions build/gke-test-cluster/cluster-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 0 additions & 6 deletions build/gke-test-cluster/cluster.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,13 @@ 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:
machineType: n1-standard-4
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:
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/docs/Installation/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit da8d848

Please sign in to comment.