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

Extra manifest extraction skips object templates with compliance type mustonlyhave

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.16.0
    • LCA operator
    • None
    • Important
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

        Extra manifest extraction/apply does not work properly based on the policy compliance type

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

          

      How reproducible:

          Always

      Steps to Reproduce:

          1. Perform an IBU upgrade with policies that contain some CRs labeled with target ocp version
          2.
          3.
          

      Actual results:

          Manifest extraction from policies ignores the ones under a "mustonlyhave" template. For the ones under "musthave", they are applied post pivot in a way that replaces the existing CR. 

      Expected results:

          Extraction should pick up CRs with "mustonlyhave" as well as "musthave". Application should do replace for mustonlyhave ones and merge for musthave ones.

      Additional info:

          

            jche@redhat.com Jun Chen
            rlopezma@redhat.com Rodrigo Lopez Manrique
            Rodrigo Lopez Manrique Rodrigo Lopez Manrique
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: