k3s/pkg/credentialprovider
Rudi Chiarito ca6bdba014 Allow lazy binding in credential providers; don't use it in AWS yet
This is step one for cross-region ECR support and has no visible effects yet.
I'm not crazy about the name LazyProvide. Perhaps the interface method could
remain like that and the package method of the same name could become
LateBind(). I still don't understand why the credential provider has a
DockerConfigEntry that has the same fields but is distinct from
docker.AuthConfiguration. I had to write a converter now that we do that in
more than one place.

In step two, I'll add another intermediate, lazy provider for each AWS region,
whose empty LazyAuthConfiguration will have a refresh time of months or years.
Behind the scenes, it'll use an actual ecrProvider with the usual ~12 hour
credentials, that will get created (and later refreshed) only when kubelet is
attempting to pull an image. If we simply turned ecrProvider directly into a
lazy provider, we would bypass all the caching and get new credentials for
each image pulled.
2016-03-29 15:39:30 -04:00
..
aws Allow lazy binding in credential providers; don't use it in AWS yet 2016-03-29 15:39:30 -04:00
gcp Allow lazy binding in credential providers; don't use it in AWS yet 2016-03-29 15:39:30 -04:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
config.go Allow lazy binding in credential providers; don't use it in AWS yet 2016-03-29 15:39:30 -04:00
config_test.go Support new docker config format for private registries 2015-08-22 15:37:25 +07:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
keyring.go Allow lazy binding in credential providers; don't use it in AWS yet 2016-03-29 15:39:30 -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
plugins.go Credential providers are not newsworthy 2016-03-07 21:50:39 -05:00
provider.go Allow lazy binding in credential providers; don't use it in AWS yet 2016-03-29 15:39:30 -04:00
provider_test.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00