kubernetes/pkg/credentialprovider
Rudi Chiarito eea29e8851 Allow cross-region image pulling with AWS' ECR
This is step two. We now create long-lived, lazy ECR providers in all regions.
When first used, they will create the actual ECR providers doing the work
behind the scenes, namely talking to ECR in the region where the image lives,
rather than the one our instance is running in.

Also:

- moved the list of AWS regions out of the AWS cloudprovider and into the
credentialprovider, then exported it from there.
- improved logging

Behold, running in us-east-1:

```
aws_credentials.go:127] Creating ecrProvider for us-west-2
aws_credentials.go:63] AWS request: ecr:GetAuthorizationToken in us-west-2
aws_credentials.go:217] Adding credentials for user AWS in us-west-2
Successfully pulled image 123456789012.dkr.ecr.us-west-2.amazonaws.com/test:latest"
```

*"One small step for a pod, one giant leap for Kube-kind."*
2016-05-10 12:03:39 -04:00
..
aws Allow cross-region image pulling with AWS' ECR 2016-05-10 12:03:39 -04:00
gcp Uncomment the code that cause by #19254 2016-04-25 23:21:31 +08:00
config_test.go Support new docker config format for private registries 2015-08-22 15:37:25 +07:00
config.go Allow lazy binding in credential providers; don't use it in AWS yet 2016-03-29 15:39:30 -04:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
keyring_test.go Allow lazy binding in credential providers; don't use it in AWS yet 2016-03-29 15:39:30 -04:00
keyring.go Refactor PullImage RemoveImage methods 2016-04-23 10:33:47 -04:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
plugins.go Credential providers are not newsworthy 2016-03-07 21:50:39 -05:00
provider_test.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
provider.go Refactor PullImage RemoveImage methods 2016-04-23 10:33:47 -04:00