-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add ImageDigests for multi container support #7373
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
Changes from all commits
b01195a
65ca1a3
b2230a4
240c908
f2e77cb
3cdfdd6
0710ebe
1a6947c
4c31408
ddd8901
9a2a047
4b21cc1
e8f5978
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -129,12 +129,32 @@ type RevisionStatus struct { | |
| // +optional | ||
| LogURL string `json:"logUrl,omitempty"` | ||
|
|
||
| // ImageDigest holds the resolved digest for the image specified | ||
| // DeprecatedImageDigest holds the resolved digest for the image specified | ||
| // within .Spec.Container.Image. The digest is resolved during the creation | ||
| // of Revision. This field holds the digest value regardless of whether | ||
| // a tag or digest was originally specified in the Container object. It | ||
| // may be empty if the image comes from a registry listed to skip resolution. | ||
| // If multiple containers specified then DeprecatedImageDigest holds the digest | ||
| // for serving container. | ||
| // DEPRECATED Use ImageDigests instead. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where is that "ImageDigests" field ?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| // TODO(savitaashture) Remove deprecatedImageDigest. | ||
| // ref https://kubernetes.io/docs/reference/using-api/deprecation-policy for deprecation. | ||
| // +optional | ||
| DeprecatedImageDigest string `json:"imageDigest,omitempty"` | ||
|
|
||
| // ContainerStatuses is a slice of images present in .Spec.Container[*].Image | ||
| // to their respective digests and their container name. | ||
| // The digests are resolved during the creation of Revision. | ||
| // ContainerStatuses holds the container name and image digests | ||
| // for both serving and non serving containers. | ||
| // ref: http://bit.ly/image-digests | ||
| // +optional | ||
| ContainerStatuses []ContainerStatuses `json:"containerStatuses,omitempty"` | ||
| } | ||
|
|
||
| // ContainerStatuses holds the information of container name and image digest value | ||
| type ContainerStatuses struct { | ||
| Name string `json:"name,omitempty"` | ||
| ImageDigest string `json:"imageDigest,omitempty"` | ||
| } | ||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.