Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-13399

ch03s03: option --confirm is not needed to refresh an image stream

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • 3
    • en-US (English)

      Please fill in the following information:


       https://rol.redhat.com/rol/app/courses/do288-4.12/pages/ch03s05

      Issue description

      Section "Managing Image Streams and Tags" incorrectly states that an existing image stream can be updated by running

      $ oc import-image myimagestream[:tag] --confirm

      While the command does work without complaints even if --confirm is included, it is undesirable to do so as a typo in the image stream (or istag) name will inadvertently create a new image stream (or istag) when infact it should fail.

      The --confirm option is only needed if a new import location is to be set for an istag:

      $ oc import-image --help
      ...
          --confirm=false:
              If true, allow the image stream import location to be set or changed 

            gregab@p0f.net Grega Bremec
            gregab@p0f.net Grega Bremec
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: