Skip to content

Conversation

@dcantah
Copy link
Collaborator

@dcantah dcantah commented Sep 21, 2021

This change adds support to allow sandbox mounts to work for Windows pods
as there used to be a block to only allow these for Linux.

Signed-off-by: Daniel Canter [email protected]

@dcantah
Copy link
Collaborator Author

dcantah commented Sep 21, 2021

@katiewasnothere. Won't let me add you as an assignee, likely need to accept kevins request to add you as an admin

This change adds support to allow sandbox mounts to work for Windows pods
as there used to be a block to only allow these for Linux.

Signed-off-by: Daniel Canter <[email protected]>
@dcantah dcantah force-pushed the windows-sandboxmount branch from 8f22c21 to 2f0ddb3 Compare September 22, 2021 21:16
@dcantah
Copy link
Collaborator Author

dcantah commented Sep 22, 2021

Here's the change that adds support for this in our shim: microsoft/hcsshim#1087

Comment on lines +515 to +516
if platform.OS == "linux" {
mountType = "bind"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suppose there's no harm setting this on Windows also but 🤷‍♂️. Seems better to just set it only if it's needed

Copy link
Collaborator

@katiewasnothere katiewasnothere left a comment

Choose a reason for hiding this comment

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

lgtm

@dcantah dcantah changed the title Add sandbox mount logic for windows Remove Linux only block on sandbox mounts Sep 23, 2021
@dcantah dcantah merged commit 3337fa9 into kevpar:windows_port Sep 23, 2021
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.

2 participants