-
Bug
-
Resolution: Done
-
Minor
-
DO288 - OCP4.12-en-4-20240304
-
False
-
-
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