title: Openshift imagestream "Import failed (Unauthorized)" for private external secure registry
body: <p>May be I'm not getting something right, but my ImageStream returnes "<strong>! error: Import failed (Unauthorized): you may not have access to the Docker image "my_registry:5000/project/my_image:latest"</strong>".</p>
  
  <p>I have set up all needed steps to connect to external registry (created secret and added it to current projects's serviceaccount/default and serviceaccount/builder accounts). All deploymentconfigs with specified <code>image: my_registry:5000/project/my_image:latest</code> are working great, node can successfully pull the image and create a pod.</p>
  
  <p>But when I am making image stream with:</p>
  
  <pre><code>from:
        kind: DockerImage
        name: my_registry:5000/project/my_image:latest
  </code></pre>
  
  <p>I get error that I am not authorised.</p>
  
  <p>So what am i doing wrong? Is there any additional account I should give rights for pull?</p>
  
  <pre><code> oc describe sa/builder
  Name:           builder
  Namespace:      nginx
  Labels:         &lt;none&gt;
  
  Image pull secrets:     builder-dockercfg-8ogvt
                          my_registry
  
  Mountable secrets:      builder-token-v6w8q
                          builder-dockercfg-8ogvt
                          my_registry
  
  Tokens:                 builder-token-0j8p5
                          builder-token-v6w8q
  </code></pre>
  
  <p>and</p>
  
  <pre><code>oc describe sa/default
  Name:           default
  Namespace:      nginx
  Labels:         &lt;none&gt;
  
  Image pull secrets:     default-dockercfg-wmm1h
                              my_registry
  
  Mountable secrets:      default-token-st7k9
                          default-dockercfg-wmm1h
  
  Tokens:                 default-token-m2aoq
                          default-token-st7k9
  </code></pre>