aboutsummaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-02 20:12:25 +0200
committerGitHub <noreply@github.com>2022-09-02 20:12:25 +0200
commitc5da5e459a36c4a64a6f9de777ea791aac0998b2 (patch)
tree3de8514db28352fe64e633ca7f9e04a24285b706 /test/e2e
parent0e66f75f2a6d3792ae7fd2d77fe8a55b6fbdb0ce (diff)
parent4a1acccf965362eb315b38f9b2cb35a8564aa173 (diff)
downloadpodman-c5da5e459a36c4a64a6f9de777ea791aac0998b2.tar.gz
podman-c5da5e459a36c4a64a6f9de777ea791aac0998b2.tar.bz2
podman-c5da5e459a36c4a64a6f9de777ea791aac0998b2.zip
Merge pull request #15599 from umohnani8/gen-kube
Fix bind-mount-option annotation in gen/play kube
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/generate_kube_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/generate_kube_test.go b/test/e2e/generate_kube_test.go
index 6a73d8ab6..960837ebe 100644
--- a/test/e2e/generate_kube_test.go
+++ b/test/e2e/generate_kube_test.go
@@ -719,7 +719,7 @@ var _ = Describe("Podman generate kube", func() {
pod := new(v1.Pod)
err = yaml.Unmarshal(b, pod)
Expect(err).To(BeNil())
- Expect(pod.Annotations).To(HaveKeyWithValue(define.BindMountPrefix+vol1, HaveSuffix("z")))
+ Expect(pod.Annotations).To(HaveKeyWithValue(define.BindMountPrefix, vol1+":"+"z"))
rm := podmanTest.Podman([]string{"pod", "rm", "-t", "0", "-f", "test1"})
rm.WaitWithDefaultTimeout()