title: OpenShift : Build failed with 'Invalid Output reference'
body: <p>I am creating a build configuration with the following YAML. Then, I trigger the build manually with <code>oc</code>. So, the following commands are run.</p>
  
  <pre class="lang-sh prettyprint-override"><code>oc create -f mybuildconfig.yaml
  oc start-build bc/ns-bc-myproject --wait
  </code></pre>
  
  <p>Build configuration YAML:</p>
  
  <pre><code>apiVersion: v1
  kind: BuildConfig
  metadata:
    labels:
      build: myproject
    name: ns-bc-myproject
    namespace: ns
  spec:
    output:
      to:
        kind: ImageStreamTag
        name: 'ns-is-myproject:latest'
    postCommit: {}
    resources: {}
    runPolicy: Serial
    source:
      git:
        ref: dev_1.0
        uri: 'https://github.com/ns/myproject.git'
      type: Git
    strategy:
      sourceStrategy:
        from:
          kind: ImageStreamTag
          name: 'nodejs:10'
          namespace: openshift
      type: Source
    successfulBuildsHistoryLimit: 5
  </code></pre>
  
  <p>The build never goes through; it keeps failing with the message as Invalid output reference. What is missing?</p>