Skip to content

Commit 837ebfb

Browse files
committed
Add multiplexing to TLSRoute
1 parent 2ed3cd6 commit 837ebfb

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

geps/gep-2643/index.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,34 @@ be at least one intersecting hostname for the `TLSRoute` to be attached to the
197197
the later must not be considered for a match.
198198
* In any of the cases above, the `TLSRoute` should have a `Condition` of `Accepted=True`.
199199

200+
## Multiplexing support
201+
202+
It may be desired that on a `Gateway` a single TLS listener provides termination
203+
for `HTTPRoutes` and passthrough to `TLSRoutes`.
204+
205+
This can be achieved with a `Gateway` that specifies the following listeners:
206+
207+
```yaml
208+
listeners:
209+
- name: somelistener
210+
port: 443
211+
protocol: TLS
212+
hostname: "*.example.tld"
213+
tls:
214+
mode: Passthrough
215+
- name: httpslistener
216+
port: 443
217+
protocol: HTTPS
218+
hostname: "*.anotherexample.tld"
219+
tls:
220+
mode: Terminate
221+
certificateRefs: ...
222+
```
223+
224+
With the specification above, any request to hostnames on `*.example.tld` should be
225+
attached to `TLSRoutes` while requests to `*.anotherexample.tld` are terminated
226+
on the `Gateway` and attached to a `HTTPRoute`.
227+
200228
## Conformance Details
201229

202230
### Feature Names

0 commit comments

Comments
 (0)