mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #102159 from roycaihw/mark-containerimage-name-optional
Mark ContainerImage.names as optional
This commit is contained in:
commit
8a70c48553
3
api/openapi-spec/swagger.json
generated
3
api/openapi-spec/swagger.json
generated
@ -4937,9 +4937,6 @@
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"names"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.core.v1.ContainerPort": {
|
||||
|
@ -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
|
||||
|
@ -787,6 +787,7 @@ message Container {
|
||||
message ContainerImage {
|
||||
// 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
|
||||
repeated string names = 1;
|
||||
|
||||
// The size of the image in bytes.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user