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

Changed remote cluster to validate PEM certificate instead of DER #1066

Merged
merged 2 commits into from
Sep 26, 2019

Conversation

pooneh-m
Copy link
Contributor

@pooneh-m pooneh-m commented Sep 24, 2019

Currently allocator service is expecting TLS certificate of PEM format and the client is expecting server TLS signing certificate of DER format. This discrepancy was not detected because e2e tests are skipping cert validation and we don't have a good test coverage for multi-cluster allocation scenarios.

This only impact the multi-cluster allocation feature which is in v1alpha1. The issue was detected while writing e2e tests for multi-cluster allocation.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 4207394a-558d-498d-915e-36ffc137d2f2

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 677a3e68-e22d-4324-bcbd-cd3f6ae91071

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/1066/head:pr_1066 && git checkout pr_1066
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.1.0-b3031ba

@markmandel
Copy link
Collaborator

So this looks fine, but would love some more info in the commit about why this change is in place / what it actually does.

I've no idea the difference between PEM / DER is for SSL certs?

@roberthbailey
Copy link
Member

It would also be nice to mention (confirm?) that this code is only in the path of the v1alpha1 APIs for allocation, since otherwise this would be considered a breaking change.

@pooneh-m
Copy link
Contributor Author

I updated the description with more info. The change is impacting v1alpha1 feature. PEM and DER are different formats for certificates.

Copy link
Collaborator

@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.

Thanks for the updates!

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: markmandel, pooneh-m
To complete the pull request process, please assign
You can assign the PR to them by writing /assign in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot
Copy link

New changes are detected. LGTM label has been removed.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 9f218ae7-9142-47ae-8e60-d6413c50d965

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/1066/head:pr_1066 && git checkout pr_1066
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.1.0-4e1d48b

@pooneh-m pooneh-m merged commit 7150da9 into googleforgames:master Sep 26, 2019
@markmandel markmandel added the kind/cleanup Refactoring code, fixing up documentation, etc label Sep 26, 2019
@markmandel markmandel added this to the 1.1.0 milestone Sep 26, 2019
@markmandel markmandel added the area/tests Unit tests, e2e tests, anything to make sure things don't break label Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tests Unit tests, e2e tests, anything to make sure things don't break kind/cleanup Refactoring code, fixing up documentation, etc size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants