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

Add defaultChannel option in example DeleteImageSetConfiguration for operators in the doc for deleting images using oc-mirror

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.16, 4.17, 4.18, 4.19
    • Documentation
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The DeleteImageSetConfiguration file example provided in the below doc should include defaultChannel option for operators.
      
      https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/disconnected_environments/mirroring-in-disconnected-environments#oc-mirror-workflows-delete-v2_about-installing-oc-mirror-v2
      
      The file should look like below:
      
      apiVersion: mirror.openshift.io/v2alpha1
      kind: DeleteImageSetConfiguration
      delete:
        platform:
          channels:
            - name: stable-4.13
              minVersion: 4.13.3
              maxVersion: 4.13.3
        operators:
          - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.12
            packages:
            - name: aws-load-balancer-operator
              defaultChannel: stable-v0.1
              Channels:
                name: stable-v0.1
                minVersion: 0.0.1
                maxVersion: 0.0.1
        additionalImages:
          - name: registry.redhat.io/ubi8/ubi@sha256:bce7e9f69fb7d4533447232478fd825811c760288f87a35699f9c8f030f2c1a6
          - name: registry.redhat.io/ubi8/ubi-minimal@sha256:8bedbe742f140108897fb3532068e8316900d9814f399d676ac78b46e740e34eShow
      
      A note should be added to inform customers that the defaultChannel option is needed to be used in the DeleteImageSetConfiguration file if the images being deleted are not from the default channel.

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

      4.19

              ocp-docs-bot OCP DocsBot
              rhn-support-alosingh Alok Singh
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: