-
Bug
-
Resolution: Obsolete
-
Minor
-
None
-
4.11
-
Quality / Stability / Reliability
-
None
-
None
-
None
-
Low
-
None
-
x86_64
-
None
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
None
-
None
-
None
-
None
-
None
Description of problem: Avoid using identical name for input and output imagestream. The below build triggers itself when it finishes and continues in a loop.
$ oc new-build -D $'FROM registry.redhat.io/ubi8/ubi' --to=ubi:latest
Version-Release number of selected component (if applicable):
v4u11
How reproducible:
Steps to Reproduce:
1. Create a build
$ oc new-build -D $'FROM registry.redhat.io/ubi8/ubi' --to=ubi:latest
2. It triggers itself when it finishes
3.
Actual results:
It does not throw any error.
Expected results:
It should give an error to use different build name.
Additional info:
https://github.com/openshift/oc/pull/1107