Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

Refactor server type to include SSLCert #66

Closed
wants to merge 4 commits into from

Conversation

hnrytrn
Copy link

@hnrytrn hnrytrn commented Jun 20, 2018

What this PR does / why we need it:

Refactors the server type to include the ingress.SSLCert field. This gives us access to the certificate, which will be used in adding dynamic certificate serving functionality (Shopify/edgescale#515).

@Shopify/edgescale

return false
}
if s1.SSLPemChecksum != s2.SSLPemChecksum {
if s1.SSLCert.PemSHA != s2.SSLCert.PemSHA {

Choose a reason for hiding this comment

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

I'd suggest to implement Equal function for SSLCert type and just call s1.SSLCert.Equal(s2.SSLCert) here - that would be consistent with the code base here.

Copy link

@ElvinEfendi ElvinEfendi left a comment

Choose a reason for hiding this comment

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

Just one comment, this is looking good otherwise. Let's address that single comment and make upstream PR.

@hnrytrn
Copy link
Author

hnrytrn commented Jun 25, 2018

PR has been moved upstream - kubernetes#2678

@hnrytrn hnrytrn closed this Jun 25, 2018
@hnrytrn hnrytrn deleted the cert-refactor branch June 25, 2018 12:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants