Description of problem: "reference" could not be supported under "tags" level in the ImageStream file.When I added "reference":"false" or "reference":"true" under "tags" level in ImageStream json file,I could not create the ImageStream successfully. Version-Release number of selected component (if applicable): # openshift version openshift v3.1.0.0 kubernetes v1.2.0-alpha.1-1107-g4c8e6f4 etcd 2.1.2 How reproducible: Always Steps to Reproduce: 1.Create an ImageStream with "reference" is defined under tags level in the json file 2. 3. Actual results: 1.cat test.json { "kind": "ImageStream", "apiVersion": "v1", "metadata": { "name": "python", "creationTimestamp": null }, "spec": { "tags":[ { "name": "3.3", "annotations": { "description": "wsun tests" }, "from": { "Kind": "DockerImage", "Name": "wsun/python-33-centos" }, "reference":"false" } ] } } $ oc create -f test.json unable to load "test.json": json: cannot unmarshal string into Go value of type bool Expected results: "reference" should be supported under "tags" level Additional info:
It's an error in your json, remove the false from double quotes like so: "reference": false and this should work fine.
It works if removing the false from double quotes.Thanks!