generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 598
Closed
Description
TLS route:
spec:
rules:
- matches:
- snis: ["foo.com"]
forwardTo:
- serviceName: httpbin
port: 443
HTTP route:
spec:
hostnames: ["foo.com"]
rules:
- forwardTo:
- serviceName: httpbin
port: 80
The inconsistency here feels a bit odd when compared to HTTPRoute.
Would it make sense to make a hostnames
field in TLSRoute and remove the snis
field in matches? Then the specs above would be identical (both looking like the "HTTP Route")