Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to using default gke-cluster oauthScopes settings for clusters #632

Merged
merged 2 commits into from
Mar 4, 2019

Conversation

aLekSer
Copy link
Collaborator

@aLekSer aLekSer commented Mar 1, 2019

Reduce oauthScope settings with test-e2e.
Verified that metrics and logs works as before this change.
Node Config details.

Closes #614.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: fab87847-ba5f-4186-95d2-f5f9a428302f

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/632/head:pr_632 && git checkout pr_632
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.9.0-da8d848

@@ -30,8 +30,6 @@ resources:
oauthScopes:
- https://www.googleapis.com/auth/compute
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at https://cloud.google.com/sdk/gcloud/reference/container/clusters/create, gke-default is:

gke-default	
https://www.googleapis.com/auth/devstorage.read_only
https://www.googleapis.com/auth/logging.write
https://www.googleapis.com/auth/monitoring
https://www.googleapis.com/auth/service.management.readonly
https://www.googleapis.com/auth/servicecontrol
https://www.googleapis.com/auth/trace.append

Should we use the same?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @markmandel ,

Yes, if we want to have consistent scopes in docs and yml.
By the way these two are enabled by default, if monitoring and logging API is enabled:

https://www.googleapis.com/auth/logging.write
https://www.googleapis.com/auth/monitoring

Last 3 scopes were not configured but they could be helpful.
The purpose of these oauthScopes could be found here.
Let me check cluster creating with those 6 and omitting https://www.googleapis.com/auth/compute.

Verified that we can change oauthScope nodePool settings to
gke-defaults. Tests test-e2e, metrics and logs works as before.
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: fdbda880-8dcb-4c7d-b0c2-3ed42b9734b4

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/632/head:pr_632 && git checkout pr_632
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.9.0-bd414e9

@aLekSer aLekSer changed the title Reduce oauthScopes nodePool settings for cluster Switch to using default gke-cluster oauthScopes settings for clusters Mar 2, 2019
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: bb764b54-e097-4c9f-8ea1-74beae9cbd67

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/632/head:pr_632 && git checkout pr_632
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.9.0-d1241ed

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏇

@markmandel markmandel merged commit 0b9af68 into googleforgames:master Mar 4, 2019
@markmandel markmandel added this to the 0.9.0 milestone Mar 7, 2019
@markmandel markmandel added the kind/cleanup Refactoring code, fixing up documentation, etc label Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Refactoring code, fixing up documentation, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants