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

Tolerate nodeSelectors field in BGPAdvertisement CR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.18
    • GitOps ZTP
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          kubectl cluster-compare reports deviation if BGPAdvertisement CR contains nodeSelectors field:
      Cluster CR: metallb.io/v1beta1_BGPAdvertisement_metallb-system_demo-cluster-adv
      Reference File: required/networking/metallb/bgp-advr.yaml
      Diff Output: diff -u -N /tmp/MERGED-960753510/metallb-io-v1beta1_bgpadvertisement_metallb-system_demo-cluster-adv /tmp/LIVE-2798375576/metallb-io-v1beta1_bgpadvertisement_metallb-system_demo-cluster-adv
      --- /tmp/MERGED-960753510/metallb-io-v1beta1_bgpadvertisement_metallb-system_demo-cluster-adv  2024-12-06 18:17:57.259105221 +0200
      +++ /tmp/LIVE-2798375576/metallb-io-v1beta1_bgpadvertisement_metallb-system_demo-cluster-adv   2024-12-06 18:17:57.260105230 +0200
      @@ -8,7 +8,9 @@
         aggregationLengthV6: 128
         ipAddressPools:
         - demo-cluster-pool
      -  localPref: 100
      +  nodeSelectors:
      +  - matchLabels:
      +      egress-service.k8s.ovn.org/demo-ns-my-svc-1: ""
         peers:
         - my-peer
         - my-peer-ipv6
      

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

          

      How reproducible:

          100%

      Steps to Reproduce:

          1. Create BGPAdvertisement resource that has nodeSelectors field
          2. Run cluster-compare tool
          3.
          

      Actual results:

          Deviation is reported

      Expected results:

          Should be tolerated by the tool

      Additional info:

          

              jramsay1@redhat.com Jim Ramsay
              yprokule@redhat.com Yurii Prokulevych
              Yogesh Ahire Yogesh Ahire
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: