fix: auto-mount path collisions#1378
Conversation
|
Thank you for the PR @akurinnoy , Could we do the collision check here? Right now, if there is a collision, it fails silently because it overwrites the existing value of the map |
|
This is the case I tested this PR with: and: And I was able to start the workspace successfully. However, I was able to get it working if I add this annotation: |
|
/test v8-devworkspace-operator-e2e, v8-che-happy-path |
|
@akurinnoy: The specified target(s) for Use DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/test v14-che-happy-path |
|
@akurinnoy: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
Hello @akurinnoy could you please rebase this PR? |
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
e6cca33 to
1325c96
Compare
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akurinnoy, dkwon17 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Thank you @akurinnoy, please squash and merge |

What does this PR do?
This PR makes DWO handle auto-mount path collisions and fails the workspace with the error message.
What issues does this PR fix or reference?
fixes #1194
Is it tested? How?
PR Checklist
/test v8-devworkspace-operator-e2e, v8-che-happy-pathto trigger)v8-devworkspace-operator-e2e: DevWorkspace e2e testv8-che-happy-path: Happy path for verification integration with Che