-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure mount destination is clean, no trailing slash #10069
Ensure mount destination is clean, no trailing slash #10069
Conversation
test/e2e/play_kube_test.go
Outdated
@@ -1861,6 +1861,54 @@ spec: | |||
Expect(inspect.OutputToString()).To(ContainSubstring(correct)) | |||
}) | |||
|
|||
FIt("podman play kube test duplicate volume destination between Host path and image volumes", func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FIt("podman play kube test duplicate volume destination between Host path and image volumes", func() { | |
It("podman play kube test duplicate volume destination between Host path and image volumes", func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
7986688
to
c633ced
Compare
Clean should be a few lines higher, so the earlier check for existing
mounts uses the cleaned path
…On Sat, Apr 17, 2021 at 13:52 Eduardo Vega ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In test/e2e/play_kube_test.go
<#10069 (comment)>:
> @@ -1861,6 +1861,54 @@ spec:
Expect(inspect.OutputToString()).To(ContainSubstring(correct))
})
+ FIt("podman play kube test duplicate volume destination between Host path and image volumes", func() {
Fixed
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10069 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3AOCHUMPB6UTHOPZDRHQ3TJHDE7ANCNFSM43DIPUTQ>
.
|
Signed-off-by: Eduardo Vega <[email protected]>
c633ced
to
18d462c
Compare
@mheon thanks. I have made the change |
LGTM |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: EduardoVega, mheon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
thank you
@Luap99 @baude we got a compose-test flake, is that output useful to you? |
@edsantiago I created #10052 to track the flake. |
HostPath volumes specified in kube Pod YAMLs were not being cleaned (remove trailing slash), while named volumes specified in Dockerfiles / Containerfiles with the VOLUME instruction were being cleaned. This provoked that two volumes were mounted because the destination was not the same due to the trailing slash.
Fix #9618
Signed-off-by: Eduardo Vega [email protected]