k3s/pkg/kubelet/images
Kubernetes Submit Queue f5d9c430e9 Merge pull request #39298 from feiskyer/images
Automatic merge from submit-queue

Kubelet: add image ref to ImageService interfaces

This PR adds image ref (digest or ID, depending on runtime) to PullImage result, and pass image ref in CreateContainer instead of image name. It also

* Adds image ref to CRI's PullImageResponse
* Updates related image puller
* Updates related testing utilities

~~One remaining issue is: it breaks some e2e tests because they [checks image repoTags](https://github.com/kubernetes/kubernetes/blob/master/test/e2e/framework/util.go#L1941) while docker always returns digest in this PR. Should we update e2e test or continue to return repoTags in `containerStatuses.image`?~~

Fixes #38833.
2016-12-30 22:51:18 -08:00
..
BUILD autogenerated 2016-12-29 13:04:10 -08:00
doc.go Wrapping image pullers inside ImageManager 2016-07-20 09:47:11 -07:00
helpers.go kubelet/images: return image ref in EnsureImageExists 2016-12-29 16:31:14 +08:00
image_gc_manager.go fix image manager Start() function return 2016-12-21 14:58:00 +08:00
image_gc_manager_test.go moving image gc to images 2016-08-04 12:26:06 -07:00
image_manager.go Rename imageservice.IsImagePresent to GetImageRef 2016-12-31 08:36:55 +08:00
image_manager_test.go Rename imageservice.IsImagePresent to GetImageRef 2016-12-31 08:36:55 +08:00
puller.go Return repoTags instead of digest in containerStatuses.image 2016-12-30 10:48:49 +08:00
types.go kubelet/images: return image ref in EnsureImageExists 2016-12-29 16:31:14 +08:00