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

[release/1.7] Fix default working directory Windows HostProcess containers #10071

Merged

Conversation

anmaxvl
Copy link
Contributor

@anmaxvl anmaxvl commented Apr 12, 2024

Per https://github.com/kubernetes/enhancements/tree/master/keps/sig-windows/1981-windows-privileged-container-support#container-mounts the default working directory for hostProcess containers should be C:\hpc, however the current default is set to windows default which is C:\.

Signed-off-by: Maksim An maksiman@microsoft.com
(cherry picked from commit c7ea06a)

Per https://github.com/kubernetes/enhancements/tree/master/keps/sig-windows/1981-windows-privileged-container-support#container-mounts
the default working directory for `hostProcess` containers should
be `C:\hpc`, however the current default is set to windows default
which is `C:\`.

Signed-off-by: Maksim An <maksiman@microsoft.com>
(cherry picked from commit c7ea06a)
@k8s-ci-robot
Copy link

Hi @anmaxvl. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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/test-infra repository.

@anmaxvl anmaxvl changed the title backport fix default working directory hostProcess [release/1.7] backport: fix default working directory hostProcess Apr 12, 2024
@samuelkarp
Copy link
Member

/ok-to-test

@samuelkarp samuelkarp added platform/windows Windows area/cri Container Runtime Interface (CRI) needs-ok-to-test and removed ok-to-test labels Apr 14, 2024
@samuelkarp samuelkarp merged commit 6b0cae9 into containerd:release/1.7 Apr 14, 2024
57 checks passed
@anmaxvl anmaxvl deleted the hostProcess-working-dir-fix branch April 15, 2024 04:54
@dmcgowan dmcgowan changed the title [release/1.7] backport: fix default working directory hostProcess [release/1.7] Fix default working directory hostProcess Apr 24, 2024
@dmcgowan dmcgowan changed the title [release/1.7] Fix default working directory hostProcess [release/1.7] Fix default working directory Windows HostProcess containers Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants