-
Notifications
You must be signed in to change notification settings - Fork 472
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
tls: introduce mode and sni to cert matching behavior #256
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your work on this!
apis/v1alpha1/gateway_types.go
Outdated
// - "Exact": Certificate should be used for the domain only. | ||
// - "Any": Certificate in TLSConfig is the default certificate to use. | ||
// | ||
// The GatewayClass must use the most specific available certificate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe GatewayClass be Gateway or implementation here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We follow GatewayClass in a lot of places and that's what I borrowed from here. Should I change it in this case or keep as is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This specific use feels more tied to implementation than class, but this does not need to block the PR.
Resolved the two comments. PTAL. |
xref to add backend reencrypt mode at the xRoute level: https://github.com/kubernetes-sigs/service-apis/pull/81/files. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your work on this!
ef8c622
to
5b24e26
Compare
Thanks for your work on this! This LGTM but will hold for final approval from @jpeach since there's still one thread open. /lgtm |
/lgtm |
Rebased again to resolve the conflict. |
/lgtm |
@hbagdi this still LGTM, just needs a rebase. /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hbagdi, robscott The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This patch adds a `mode` property to TLSConfig which determines the TLS behavior for each listener.
Rebase again. @robscott |
Thanks! /lgtm |
This patch adds a
mode
property to TLSConfig which determines the TLSbehavior for each listener.
This patch implements one part of the TLSConfig proposal.