I have a Openshift Route of type :
- apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: <Route name>
labels:
app.kubernetes.io/name: <name>
spec:
host: <hostname>
port:
targetPort: http
tls:
termination: passthrough
to:
kind: Service
name: <serviceName>
I want to convert it into a Ingress Object as there are no routes in bare k8s. I couldn't find any reference to tls termination as passthrough in Ingress documentation. Can someone please help me converting this to an Ingress object?
TLS passthrough is not officially part of the Ingress spec. Some specific ingress controllers support it, usually via non-standard TCP proxy modes. But what you probably want is a LoadBalancer-type service.