Skip to content
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

[Fix] Allow absolute paths for volumes on Windows (#510, @markrexwinkel) #510

Merged

Conversation

markrexwinkel
Copy link
Contributor

What

This PR fixes the volume mount validation on Windows addressed in issue: #460.

Why

Fixes issue #460

Implications

Copy link
Member

@iwilltry42 iwilltry42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@iwilltry42 iwilltry42 added this to the v4.2.1 milestone Mar 2, 2021
@iwilltry42 iwilltry42 self-assigned this Mar 2, 2021
@iwilltry42 iwilltry42 linked an issue Mar 2, 2021 that may be closed by this pull request
@iwilltry42
Copy link
Member

Quick and simple fix, thank you @markrexwinkel !

@iwilltry42 iwilltry42 changed the title support windows paths in volume mapping [Fix] Allow absolute paths for volumes on Windows (#510, @markrexwinkel) Mar 2, 2021
@iwilltry42 iwilltry42 merged commit e307b69 into k3d-io:main Mar 2, 2021
rancherio-gh-m pushed a commit that referenced this pull request Mar 2, 2021
Author: markrexwinkel <[email protected]>
Date:   Tue Mar 2 18:30:03 2021 +0100

    [Fix] Allow absolute paths for volumes on Windows (#510, @markrexwinkel)
@iwilltry42 iwilltry42 modified the milestones: v4.2.1, v4.3.0 Mar 8, 2021
@doc4child
Copy link

image
image

Upon creating a windows folder mapped to :shared volume it creates an error due to failed cluster configuration validation. I hope this can be fixed

iwilltry42 added a commit that referenced this pull request Mar 29, 2021
rancherio-gh-m pushed a commit that referenced this pull request Mar 29, 2021
Author: iwilltry42 <[email protected]>
Date:   Mon Mar 29 17:25:01 2021 +0200

    [Fix] Allow absolute paths for volumes on Windows (#510, @markrexwinkel)

    re-applied in the pkg/util
@iwilltry42
Copy link
Member

@markrexwinkel replicated your fix in the correct file and removed the unused file.
Tested it and it works just fine, thank you! 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Can't mount absolute path on windows 10
4 participants