Back to bug 1384973

Who When What Removed Added
Ben Parees 2016-10-14 14:42:57 UTC CC bparees
Assignee cewong mmilata
Dan McPherson 2016-10-17 11:04:52 UTC Priority unspecified medium
Severity unspecified medium
Martin Milata 2016-10-17 13:07:04 UTC Status NEW ASSIGNED
Wang Haoran 2016-10-19 05:19:37 UTC CC shiywang
Martin Milata 2016-10-20 09:00:44 UTC Status ASSIGNED ON_QA
shiyang.wang 2016-10-27 10:18:35 UTC Status ON_QA VERIFIED
Martin Milata 2016-10-31 19:47:12 UTC Target Release --- 3.4.0
Doc Text Cause:
When creating Build object through REST API, the type of the "from" image is not checked and is assumed to be DockerImage.

Consequence:
Creating Build object with custom strategy referencing an ImageStreamTag as its "from" image results in failure or, potentially, build using the wrong image.

Fix:
Type of builder image is checked when creating Build object and if it is not DockerImage the request is rejected as invalid.

Result:
Custom builds with builder image specified as ImageStreamTag are rejected.
Doc Type If docs needed, set a value Bug Fix
Troy Dawson 2016-11-22 22:43:38 UTC CC tdawson
errata-xmlrpc 2017-01-18 01:02:19 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2017-01-18 12:42:58 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2017-01-18 07:42:58 UTC
Dan McPherson 2017-03-08 18:43:11 UTC Target Release 3.4.0

Back to bug 1384973