summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-07-26 10:28:45 +0200
committerValentin Rothberg <rothberg@redhat.com>2021-07-26 10:28:45 +0200
commitc197d19fe8890226f9fe416ece6fa4cbbb7f8108 (patch)
tree0758da1c7db8992ccf5be83c7d98cd91d26e72cb /test/e2e
parentec5c7c1f6a1898dacddb6cc35802525c288b61ef (diff)
downloadpodman-c197d19fe8890226f9fe416ece6fa4cbbb7f8108.tar.gz
podman-c197d19fe8890226f9fe416ece6fa4cbbb7f8108.tar.bz2
podman-c197d19fe8890226f9fe416ece6fa4cbbb7f8108.zip
play kube: support capitalized pull policy
Pull policies in K8s yaml may be capitalized, so lower them before parsing. Fixes: bugzilla.redhat.com/show_bug.cgi?id=1985905 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/play_kube_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/play_kube_test.go b/test/e2e/play_kube_test.go
index 5e303bf2f..66bfdefe7 100644
--- a/test/e2e/play_kube_test.go
+++ b/test/e2e/play_kube_test.go
@@ -1729,7 +1729,7 @@ var _ = Describe("Podman play kube", func() {
})
It("podman play kube with pull policy of missing", func() {
- ctr := getCtr(withPullPolicy("missing"), withImage(BB))
+ ctr := getCtr(withPullPolicy("Missing"), withImage(BB))
err := generateKubeYaml("pod", getPod(withCtr(ctr)), kubeYaml)
Expect(err).To(BeNil())