[RHOCP 4] Unassigned namespaces are using EgressIP when configured with matchExpression.

Solution Verified - Updated -

Issue

  • When configuring EgressIP using matchExpressions unassigned namespaces are using EgressIP.

    apiVersion: k8s.ovn.org/v1
    kind: EgressIP
    metadata:
    name: egress-matchexpression
    spec:
    egressIPs:
    - A.A.A.A
    namespaceSelector:
      matchExpressions:                               
      - key: kubernetes.io/metadata.name
        operator: In
        values:
        - egress-test
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

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