Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-39006

"Example EgressFirewall CR objects" has incorrect "cidrSelector" example

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 4.18
    • 4.13, 4.12, 4.14, 4.15, 4.16, 4.17
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 5
    • Moderate
    • None
    • None
    • None
    • None
    • OSDOCS Sprint 265, OSDOCS Sprint 266
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      In https://docs.openshift.com/container-platform/4.14/networking/ovn_kubernetes_network_provider/configuring-egress-firewall-ovn.html#egressnetworkpolicy-example_configuring-egress-firewall-ovn the example for EgressFirewall has an example for denying a single IP:
      
      ~~~
      apiVersion: k8s.ovn.org/v1
      kind: EgressFirewall
      metadata:
        name: default
      spec:
        egress:
        - type: Deny
          to:
            cidrSelector: 172.16.1.1
      [..]
      ~~~
      
      However, the "cidrSelector" should be specified as "172.16.1.1/32"

      Version-Release number of selected component (if applicable):

      Documentation OCP 4.14 / 4.15 / 4.16

      Expected results:

      `cidrSelector: 172.16.1.1` should be written as `cidrSelector: 172.16.1.1/32`

      Additional info:

          

              dfitzmau@redhat.com Darragh Fitzmaurice
              rhn-support-skrenger Simon Krenger
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: