diff --git a/pkg/api/v1beta1/types.go b/pkg/api/v1beta1/types.go index 4b253df8d2b..23f97766b9a 100644 --- a/pkg/api/v1beta1/types.go +++ b/pkg/api/v1beta1/types.go @@ -439,7 +439,7 @@ type Container struct { // Required. Image string `json:"image" description:"Docker image name"` // Optional: The image's entrypoint is used if this is not provided; cannot be updated. - Entrypoint []string `json:"entrypoint:omitempty" description:"entrypoint array; not executed within a shell; the image's entrypoint is used if this is not provided; cannot be updated"` + Entrypoint []string `json:"entrypoint,omitempty" description:"entrypoint array; not executed within a shell; the image's entrypoint is used if this is not provided; cannot be updated"` // Optional: The image's cmd is used if this is not provided; cannot be updated. Command []string `json:"command,omitempty" description:"command argv array; not executed within a shell; the image's cmd is used if this is not provided; cannot be updated"` // Optional: Docker's default is used if this is not provided. diff --git a/pkg/api/v1beta2/types.go b/pkg/api/v1beta2/types.go index 7e4ab035402..6b537948832 100644 --- a/pkg/api/v1beta2/types.go +++ b/pkg/api/v1beta2/types.go @@ -434,7 +434,7 @@ type Container struct { // Required. Image string `json:"image" description:"Docker image name"` // Optional: The image's entrypoint is used if this is not provided; cannot be updated. - Entrypoint []string `json:"entrypoint:omitempty" description:"entrypoint array; not executed within a shell; the image's entrypoint is used if this is not provided; cannot be updated"` + Entrypoint []string `json:"entrypoint,omitempty" description:"entrypoint array; not executed within a shell; the image's entrypoint is used if this is not provided; cannot be updated"` // Optional: The image's cmd is used if this is not provided; cannot be updated. Command []string `json:"command,omitempty" description:"command argv array; not executed within a shell; the image's cmd is used if this is not provided; cannot be updated"` // Optional: Docker's default is used if this is not provided.