Creating Ingress object fails with missing pathType error in Red Hat OpenShift 4

Solution Verified - Updated -

Issue

  • Using the example provided in the documentation to Create a Route through an Ingress object results in the following Ingress invalid error:

    The Ingress "frontend" is invalid: spec.rules[0].http.paths[0].pathType: Required value: pathType must be specified
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.7
    • 4.8

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