Skip to content

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

Merged
samuelkarp merged 1 commit intocontainerd:release/1.7from
anmaxvl:hostProcess-working-dir-fix
Apr 14, 2024
Merged

[release/1.7] Fix default working directory Windows HostProcess containers#10071
samuelkarp merged 1 commit intocontainerd:release/1.7from
anmaxvl:hostProcess-working-dir-fix

Conversation

@anmaxvl
Copy link
Copy Markdown
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 [email protected]
(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 <[email protected]>
(cherry picked from commit c7ea06a)
@k8s-ci-robot
Copy link
Copy Markdown

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.

Details

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
Copy Markdown
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
@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.

5 participants