Replies: 1 comment 11 replies
-
Another argument is the persona/RBAC split. Gateway create is a very high privilege, TLSRoute create is less so. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
TLSRoute has always been a bit of a strange resource because the only matcher it had (SNI) was already expressible via Gateway. The primary arguments in favor of TLSRoute became:
Now let's imagine that @dprotaso's proposal for Gateway merging (#1863) is accepted. In that world, you could use the combination of Gateway merging + TCPRoute to cover 1 and 2. For 1 you simply delegate to a Gateway in a different namespace instead of a TLSRoute, and for 2, the Gateway merging proposal also allows for ~infinite merged Gateways.
Given that the only similarity between HTTPRoute and TLSRoute is hostname/SNI matching, it doesn't really seem worthwhile to keep an entire resource just for the sake of that bit of consistency...
With all of that said, there are still some valid arguments in favor of TLSRoute:
I'm not really sure what the answer is here, but figured I'd at least start a discussion to see if anyone else had an opinion on this. Trying to avoid providing too many ways to do the same thing with this API.
Beta Was this translation helpful? Give feedback.
All reactions