• Kubernetes Submit Queue's avatar
    Merge pull request #34473 from DirectXMan12/feature/set-image-id-manifest-digest · c50af358
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Kubelet: Use RepoDigest for ImageID when available
    
    ```release-note
    Use manifest digest (as `docker-pullable://`) as ImageID when available (exposes a canonical, pullable image ID for containers).
    ```
    
    Previously, we used the docker config digest (also called "image ID"
    by Docker) for the value of the `ImageID` field in the container status.
    This was not particularly useful, since the config manifest is not
    what's used to identify the image in a registry, which uses the manifest
    digest instead.  Docker 1.12+ always populates the RepoDigests field
    with the manifest digests, and Docker 1.10 and 1.11 populate it when
    images are pulled by digest.
    
    This commit changes `ImageID` to point to the the manifest digest when
    available, using the prefix `docker-pullable://` (instead of
    `docker://`)
    
    Related to #32159
    c50af358
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
api Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
contrib Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
staging Loading commit data...
test Loading commit data...
third_party Loading commit data...
vendor Loading commit data...
www Loading commit data...
.generated_docs Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIB.md Loading commit data...
CONTRIBUTING.md Loading commit data...
DESIGN.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
code-of-conduct.md Loading commit data...
labels.yaml Loading commit data...