[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Invalid output reference



Does the myapp image stream exist?

> On Sep 6, 2017, at 6:35 AM, Tim Dudgeon <tdudgeon ml gmail com> wrote:
> 
> I'm trying to get to grips with build configs. In this case a Java build using Maven.
> I managed to get the build to work fine using the web console and now want to allow this to be automated using cli.
> So I export the build config as YAML using `oc get bc/myapp -o yaml > myapp-bc.yaml`, delete the old one and then try to re-load using the YAML using `oc create -f myapp-bc.yaml` and then start the build.
> 
> But the build never starts complaining of an 'Invalid output reference'.
> Presumably this refers to the output section of the YAML that looks like this:
> 
>>   output:
>>     to:
>>       kind: ImageStreamTag
>>       name: myapp:latest
> Any pointers to what is wrong?
> 
> Thanks
> Tim
> 
> 
> 
> 
> _______________________________________________
> users mailing list
> users lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]