-
Notifications
You must be signed in to change notification settings - Fork 40k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add user specified image to CRI ContainerConfig
#118652
Add user specified image to CRI ContainerConfig
#118652
Conversation
ContainerConfig
ContainerConfig
/hold for discussion |
bcd38cc
to
19c7e7f
Compare
/unhold that's the way to go |
/triage accepted |
ContainerConfig
ContainerConfig
78cd81d
to
5ccd2a1
Compare
/unhold We need the auth and the image name to be able to verify images on container creation. The auth is required as well for private registries. |
5ccd2a1
to
148dd5b
Compare
Auth can be supported later on and we now focus on the user specified image for now. PTAL @kubernetes/sig-node-pr-reviews |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe consider adding UserSpecifiedImage to the ImageSpec struct vs at the root level of ContainerConfig...
Sure, I can add it to the |
The container config image references either an image ID or a digest, but not the original image from the container config. We require the image for signature verification to ensure that we actually verify the correct image. Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
148dd5b
to
20a25cb
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mikebrow, mrunalp, saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
LGTM label has been added. Git tree hash: cf7dbb62839c46688c7be2034a1d235704173d20
|
The container config image references either an image ID or a digest, but not the original image from the container config. We require the image for signature verification to ensure that we actually verify the correct image. Cherry-pick of kubernetes#118652 Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
The container config image references either an image ID or a digest, but not the original image from the container config. We require the image for signature verification to ensure that we actually verify the correct image.
Which issue(s) this PR fixes:
Refers to cri-o/cri-o#7046
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: