Skip to content

Include userns info in cri/server PodSandboxStatus#9782

Merged
estesp merged 2 commits intocontainerd:mainfrom
kinvolk:rata/userns-update-podSandboxStatus
Feb 9, 2024
Merged

Include userns info in cri/server PodSandboxStatus#9782
estesp merged 2 commits intocontainerd:mainfrom
kinvolk:rata/userns-update-podSandboxStatus

Conversation

@rata
Copy link
Copy Markdown
Contributor

@rata rata commented Feb 7, 2024

We added support for userns but we weren't showing it in the
PodSandboxStatus.

Let's just show the whole nsOpts, so we don't forget in the future
either if something else inside there changes.

Please note that this will expose the content of nsOpts.TargetId that we
weren't exposing before. But that seemed like a bug to me.

@k8s-ci-robot
Copy link
Copy Markdown

Hi @rata. 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.

rata added 2 commits February 7, 2024 17:06
We added support for userns but we weren't showing it in the
podSandboxStatus.

Let's just show the whole nsOpts, so we don't forget in the future
either if something else inside there changes.

Please note that this will expose the content of nsOpts.TargetId that we
weren't exposing before. But that seemed like a bug to me.

Signed-off-by: Rodrigo Campos <[email protected]>

Maybe this is better?
@rata rata force-pushed the rata/userns-update-podSandboxStatus branch from 805b6fe to 06ed897 Compare February 7, 2024 16:06
@AkihiroSuda
Copy link
Copy Markdown
Member

/ok-to-test

@estesp estesp added this pull request to the merge queue Feb 9, 2024
Merged via the queue into containerd:main with commit 9b23137 Feb 9, 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