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

oc-mirror plugin should produce consistent YAML manifests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • None
    • 4.14.z
    • oc-mirror
    • +
    • None
    • CLID Sprint 259
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the release signature `ConfigMap` for oc-mirror plugin v2 was incorrectly stored in an archived TAR file instead of in the `cluster-resources` folder. This caused `mirror2disk` to fail. With this release. the release signature `ConfigMap` for oc-mirror plugin v2 that is in JSON format or YAML format, compatible with oc-mirror plugin v1, now get stored in the `cluster-resources` folder. (link:https://issues.redhat.com/browse/OCPBUGS-38343[*OCPBUGS-38343*]) and (link:https://issues.redhat.com/browse/OCPBUGS-38233[*OCPBUGS-38233*])
      Show
      * Previously, the release signature `ConfigMap` for oc-mirror plugin v2 was incorrectly stored in an archived TAR file instead of in the `cluster-resources` folder. This caused `mirror2disk` to fail. With this release. the release signature `ConfigMap` for oc-mirror plugin v2 that is in JSON format or YAML format, compatible with oc-mirror plugin v1, now get stored in the `cluster-resources` folder. (link: https://issues.redhat.com/browse/OCPBUGS-38343 [* OCPBUGS-38343 *]) and (link: https://issues.redhat.com/browse/OCPBUGS-38233 [* OCPBUGS-38233 *])
    • Bug Fix
    • Done

      Description of problem:

          oc-mirror produces images signature config maps in JSON format, inconsistent with other manifests which are normally in YAML. That breaks some automation, especially Multicloud Operators Subscription controller which expects manifests in YAML only.

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

          

      How reproducible:

      Always    

      Steps to Reproduce:

          1. Perform release payload mirroring as documented
          2. Check 'release-signatures' directory 
      
         

      Actual results:

          There is a mix of YAML and JSON files with kubernetes manifests.

      Expected results:

          Manifests are stored in one format, either YAML or JSON

      Additional info:

       

              luzuccar@redhat.com Luigi Mario Zuccarelli
              rhn-support-ltitov Leonid Titov
              Rama Kasturi Narra Rama Kasturi Narra
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: