Made image as required in v1 Container struct.

pull/6/head
Guangya Liu 2017-06-09 22:36:32 +08:00
parent 9df40c3661
commit e0d3d652f6
1 changed files with 1 additions and 2 deletions

View File

@ -1721,8 +1721,7 @@ type Container struct {
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
// Docker image name.
// More info: https://kubernetes.io/docs/concepts/containers/images
// +optional
Image string `json:"image,omitempty" protobuf:"bytes,2,opt,name=image"`
Image string `json:"image" protobuf:"bytes,2,opt,name=image"`
// Entrypoint array. Not executed within a shell.
// The docker image's ENTRYPOINT is used if this is not provided.
// Variable references $(VAR_NAME) are expanded using the container's environment. If a variable