NetworkPolicy to allow traffic from openshift-ingress with IngressControllers exposed over HostNetwork not working on RHOCP4.7 using OVNKubernetes

Solution Verified - Updated -

Issue

  • An application is not available through its exposed ingress route while NetworkPolicies are configured and namespace are labeled.
  • How to allow traffic from the openshift-ingress namespace in a cluster with OVNKubernetes CNI while spec.endpointPublishingStrategy: HostNetwork is configured on the default IngressController ?

Environment

  • Red Hat OpenShift Container Platform 4.7

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