summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-15 04:53:19 -0400
committerGitHub <noreply@github.com>2020-07-15 04:53:19 -0400
commit4250d24299681f6c6ee11733e0134f67b15e7821 (patch)
treea56f4d566bebcde48b2525299ff44a64a3fdea58
parent6224f3f5d5f651a5bbfdc15407288d08d7af33ea (diff)
parenta8f583a111fa6fece32171def78c93e5a77dc940 (diff)
downloadpodman-4250d24299681f6c6ee11733e0134f67b15e7821.tar.gz
podman-4250d24299681f6c6ee11733e0134f67b15e7821.tar.bz2
podman-4250d24299681f6c6ee11733e0134f67b15e7821.zip
Merge pull request #6971 from TristanCacqueray/master
play-kube: add suport for "IfNotPresent" pull type
-rw-r--r--pkg/util/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/util/utils.go b/pkg/util/utils.go
index 47d3e231d..8a78e3e3c 100644
--- a/pkg/util/utils.go
+++ b/pkg/util/utils.go
@@ -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