Ingress resource with "Passthrough" annotation does not get applied when using the newer "networking.k8s.io/v1" API

Solution Verified - Updated -

Issue

  • When configuring ingress resource with "route.openshift.io/termination" annotation set to "passthrough" via the "networking.k8s.io/v1" version. Corresponding route fails to get created. The issue specifically appears when trying to define "Passthrough" in the object while it works fine for "edge" or "Reencrypt" type.
  • The annotation works perfectly when using the older "extensions/v1beta1" API version and the routes get created and remain accessible.
  • But the corresponding route object does not get created:
$ oc get ingresses
NAME               CLASS    HOSTS                                                                                      ADDRESS   PORTS     AGE
ingress-secure     <none>   service-secure-test1.internalapps.oc465-hackthon-1109.qe.devcluster.openshift.com                    80        78m

$ oc get route -o wide    
NAME                     HOST/PORT                                                                                             PATH   SERVICES           PORT    TERMINATION            WILDCARD

Environment

  • Red Hat OpenShift Container Platform
    • 4.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content