ngrok / kubernetes-ingress-controller

The official ngrok Ingress Controller for Kubernetes
https://ngrok.com
MIT License
183 stars 20 forks source link

feat: Support TLS termination in modulesets for Load Balancer Services #388

Closed jonstacks closed 1 month ago

jonstacks commented 1 month ago

What

This allows users to specify termination behavior in a moduleset and then use it in the k8s.ngrok.com/modules annotation to terminate TLS at either the edge or the upstrem.

How

Since EndpointTLSTermination is a superset of EndpointTLSTerminationAtEdge, use the former in the moduleset so that it can be used when building both TLS & HTTPS Edges. When building the TLS configuration for HTTPSEdges created by the Ingress Controller, we have to convert EndpointTLSTermination to EndpointTLSTerminationAtEdge now.

Breaking Changes

No