Skip to content

Commit

Permalink
Merge pull request #1085 from vrothberg/pp-docs
Browse files Browse the repository at this point in the history
[CI:DOCS] improve pull-policy documentation
  • Loading branch information
vrothberg authored Jul 7, 2022
2 parents dd1c331 + cbc9d41 commit 38a4077
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/config/pull_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ import (
type PullPolicy int

const (
// Always pull the image.
// Always pull the image and throw an error if the pull fails.
PullPolicyAlways PullPolicy = iota
// Pull the image only if it could not be found in the local containers
// storage.
// storage. Throw an error if no image could be found and the pull fails.
PullPolicyMissing
// Never pull the image but use the one from the local containers
// storage.
// storage. Throw an error if no image could be found.
PullPolicyNever
// Pull if the image on the registry is new than the one in the local
// Pull if the image on the registry is newer than the one in the local
// containers storage. An image is considered to be newer when the
// digests are different. Comparing the time stamps is prone to
// errors.
// errors. Pull errors are suppressed if a local image was found.
PullPolicyNewer

// Ideally this should be the first `ioata` but backwards compatibility
Expand Down

0 comments on commit 38a4077

Please sign in to comment.