-
Notifications
You must be signed in to change notification settings - Fork 205
Description
Today, it's possible to configure a TCP or Backend object to switch between multiple TLS services based on the SNI. It's however a bit awkward to do, and there does not seem to be a paved path for providing ingress on a "type" of TLS-based service based on its name.
A simple example is providing mongodb ingress on port 27017. If I want to do this today, I either have to define one TCP object that exhaustively lists all of the mongodb services of the cluster with backend_switching_rule_list
like this, or define one Backend object that does the same with server_switching_rule_list
. This makes it difficult to isolate the relevant configuration to each helm chart that happens to deploy a mongodb instance.
Ideally, there should be a way to provide ingress like the Ingress object works like: have a cluster operator define a frontend listening on port 27017 for TLS connections (refuse plain TCP), then allow cluster developers to provide their own Backend object that automatically gets added to a backend switching rule list.