From 3db9f0528a89a935f6b379a84106683fecf3aaf5 Mon Sep 17 00:00:00 2001 From: Clayton Coleman Date: Fri, 22 May 2015 19:35:26 -0400 Subject: [PATCH] Description of ImagePullPolicy wrong in v1(beta3) --- pkg/api/v1/types.go | 2 +- pkg/api/v1beta3/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/api/v1/types.go b/pkg/api/v1/types.go index 057569ad4db..5f7a19897a4 100644 --- a/pkg/api/v1/types.go +++ b/pkg/api/v1/types.go @@ -668,7 +668,7 @@ type Container struct { // Optional: Defaults to /dev/termination-log TerminationMessagePath string `json:"terminationMessagePath,omitempty" description:"path at which the file to which the container's termination message will be written is mounted into the container's filesystem; message written is intended to be brief final status, such as an assertion failure message; defaults to /dev/termination-log; cannot be updated"` // Optional: Policy for pulling images for this container - ImagePullPolicy PullPolicy `json:"imagePullPolicy,omitempty" description:"image pull policy; one of PullAlways, PullNever, PullIfNotPresent; defaults to PullAlways if :latest tag is specified, or PullIfNotPresent otherwise; cannot be updated"` + ImagePullPolicy PullPolicy `json:"imagePullPolicy,omitempty" description:"image pull policy; one of Always, Never, IfNotPresent; defaults to Always if :latest tag is specified, or IfNotPresent otherwise; cannot be updated"` // Optional: SecurityContext defines the security options the pod should be run with SecurityContext *SecurityContext `json:"securityContext,omitempty" description:"security options the pod should run with"` } diff --git a/pkg/api/v1beta3/types.go b/pkg/api/v1beta3/types.go index edaeaa69a60..eda46e94fe1 100644 --- a/pkg/api/v1beta3/types.go +++ b/pkg/api/v1beta3/types.go @@ -670,7 +670,7 @@ type Container struct { // Deprecated - see SecurityContext. Optional: Default to false. Privileged bool `json:"privileged,omitempty" description:"whether or not the container is granted privileged status; defaults to false; cannot be updated; deprecated; See SecurityContext."` // Optional: Policy for pulling images for this container - ImagePullPolicy PullPolicy `json:"imagePullPolicy,omitempty" description:"image pull policy; one of PullAlways, PullNever, PullIfNotPresent; defaults to PullAlways if :latest tag is specified, or PullIfNotPresent otherwise; cannot be updated"` + ImagePullPolicy PullPolicy `json:"imagePullPolicy,omitempty" description:"image pull policy; one of Always, Never, IfNotPresent; defaults to Always if :latest tag is specified, or IfNotPresent otherwise; cannot be updated"` // Deprecated - see SecurityContext. Optional: Capabilities for container. Capabilities Capabilities `json:"capabilities,omitempty" description:"capabilities for container; cannot be updated; deprecated; See SecurityContext."` // Optional: SecurityContext defines the security options the pod should be run with