title: Need advice how to make Spinnaker work with aws ecr?
body: <p>I'm setting up Spinnaker in K8s with aws-ecr. My setup and steps are:</p>
  
  <p><strong>on AWS side:</strong></p>
  
  <ol>
  <li>Added policies ecr-pull, ecr-push, and ecr-generate-token</li>
  <li>Attached the policy to a role </li>
  </ol>
  
  <p><strong>Spinnaker setup:</strong></p>
  
  <ol start="3">
  <li><p>Modified <strong>values.yaml</strong> with below above settings:
  ```accounts:</p>
  
  <ul>
  <li>name: my-ecr
  address: <a href="https://123456xxx.dkr.ecr.my-region.amazonaws.com" rel="nofollow noreferrer">https://123456xxx.dkr.ecr.my-region.amazonaws.com</a>
  repositories:</li>
  <li>123456xxx.dkr.ecr..amazonaws.com/spinnaker-test-project
  ```</li>
  </ul></li>
  <li><p>Annotated <strong>clouddriver.yaml</strong>: deployment to use created role (using the IAM role in a pod by referencing the role name in an annotation on the pod specification) </p></li>
  </ol>
  
  <p>But it doesn't work and the error on the cloudrvier side is :</p>
  
  <p>.<code>d.r.p.a.DockerRegistryImageCachingAgent : Could not load tags for 1234xxxxx.dkr.ecr.&lt;my_region&gt;.amazonaws.com/spinnaker-test-project in https://1234xxxxx.dkr.ecr.&lt;my_region&gt;.amazonaws.com</code></p>
  
  <p>Would like to get some help or advice what I'm missing, thank you</p>