Skip to content

Commit

Permalink
Merge pull request #102159 from roycaihw/mark-containerimage-name-opt…
Browse files Browse the repository at this point in the history
…ional

Mark ContainerImage.names as optional
  • Loading branch information
k8s-ci-robot committed May 20, 2021
2 parents 44cffa1 + dc8bc41 commit 8a70c48
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/openapi-spec/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pkg/apis/core/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -4206,6 +4206,7 @@ type PodSignature struct {
// ContainerImage describe a container image
type ContainerImage struct {
// Names by which this image is known.
// +optional
Names []string
// The size of the image in bytes.
// +optional
Expand Down
1 change: 1 addition & 0 deletions staging/src/k8s.io/api/core/v1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions staging/src/k8s.io/api/core/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -4872,6 +4872,7 @@ type PodSignature struct {
type ContainerImage struct {
// Names by which this image is known.
// e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]
// +optional
Names []string `json:"names" protobuf:"bytes,1,rep,name=names"`
// The size of the image in bytes.
// +optional
Expand Down

0 comments on commit 8a70c48

Please sign in to comment.