-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Add Backends.SSLPassthrough attribute #540
Conversation
@jcmoraisjr why are you adding this information in the backend? (this is already present) |
@aledbf this attribute is a single point of check if a backend is really a backend up to terminate SSL requests or not. There are other two informations regarding SSL term:
|
Right. This only applies to ingress controllers that require the protocol to reach the upstream (like nginx). This is not required in haproxy. Just in case this does not means TLS termination in the POD, just that the pod must be contacted in port 443
This is correct. SSLPassthrough means terminate TLS in the pod. You could have the same backend in different ingress with different behavior. I don't think this should be a mutually exclusive option |
On HAProxy the backends (PODs) has two types of possible configurations: encrypt http data to https, or just proxy the request as is. I can use Backend.Secure to distinguish between them, however the proposal does a bit more:
|
/lgtm |
Add and configure
Backends[].SSLPassthrough
attribute based onserver.SSLPassthrough
attr andingress.kubernetes.io/ssl-passthrough
annotation.