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

4.12 oc adm prune images --help missing --certificate-authority option explanation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • 4.12.z
    • oc
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The 4.12 oc client is missing the explanation of the --certificate-authority option which is nevertheless documented at official documentation page.
      
      This is not happening with oc clients 4.13+.

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

          4.12.60

      How reproducible:

          oc adm prune images --help

      Steps to Reproduce:

          1. oc adm prune images --help
          2. check --certificate-authority is missing
          3. check Table 4 at official documentation https://docs.openshift.com/container-platform/4.12/applications/pruning-objects.html#pruning-images-manual_pruning-objects     

      Actual results:

      $ oc adm prune images --help 
      [...]
      Options:
          --all=true:
          Include images that were imported from external registries as candidates for pruning.  If pruned, all the
          mirrored objects associated with them will also be removed from the integrated registry.    --confirm=false:
          If true, specify that image pruning should proceed. Defaults to false, displaying what would be deleted but
          not actually deleting anything. Requires a valid route to the integrated container image registry (see
          --registry-url).
      

      Expected results:

      $ oc adm prune images --help 
      [...]
      Options:
          --all=true:
          Include images that were imported from external registries as candidates for pruning.  If pruned, all the
          mirrored objects associated with them will also be removed from the integrated registry.
          --certificate-authority='':
          The path to a certificate authority bundle to use when communicating with the managed container image
          registries. Defaults to the certificate authority data from the current user's config file. It cannot be used
          together with --force-insecure.
          --confirm=false:
          If true, specify that image pruning should proceed. Defaults to false, displaying what would be deleted but
          not actually deleting anything. Requires a valid route to the integrated container image registry (see
          --registry-url).
      

      Additional info:

          

            aguclu@redhat.com Arda Guclu
            rh-ee-sizucchi Simone Massimo Zucchi
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: