Skip to content

api,adaptation: add container image info - #302

Open
eshaanm25 wants to merge 1 commit into
containerd:mainfrom
eshaanm25:feat/image-digest
Open

api,adaptation: add container image info#302
eshaanm25 wants to merge 1 commit into
containerd:mainfrom
eshaanm25:feat/image-digest

Conversation

@eshaanm25

Copy link
Copy Markdown

Add image information to container properties exposed to NRI plugins.

The following fields have been added:

  • name: The image reference (ex. registry.k8s.io/pause:3.10)
  • digest: Digest the image reference resolves to. Based on the image reference, it is one of:
    • image index (application/vnd.oci.image.index.v1+json) digest
    • manifest (application/vnd.oci.image.manifest.v1+json) digest
  • config_digest: The image configuration (application/vnd.oci.image.config.v1+json) digest

Add image information (name, digest, config_digest) to container properties exposed to NRI plugins.

The following fields have been added:
- name: The image reference (ex. registry.k8s.io/pause:3.10)
- digest: The resolved image index (application/vnd.oci.image.index.v1+json) digest or manifest (application/vnd.oci.image.manifest.v1+json) digest
- config_digest: The image configuration (application/vnd.oci.image.config.v1+json) digest

Signed-off-by: Eshaan Mathur <eshaanm25@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant