Merge pull request #6971 from TristanCacqueray/master

play-kube: add suport for "IfNotPresent" pull type
This commit is contained in:
OpenShift Merge Robot 2020-07-15 04:53:19 -04:00 committed by GitHub
commit 4250d24299
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,7 @@ func ValidatePullType(pullType string) (PullType, error) {
switch pullType {
case "always":
return PullImageAlways, nil
case "missing":
case "missing", "IfNotPresent":
return PullImageMissing, nil
case "never":
return PullImageNever, nil